diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2016-05-09 15:50:54 +0200 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2016-05-17 10:41:45 +0200 |
commit | b33c14b342e5c2abeeee91c852ef2032327cb355 (patch) | |
tree | 97ba3c9c11d1833dd396f23a465940cbe6cd8af4 /tests/xmconfigdata | |
parent | 38c9973f36ce962079fd2f717ad358fe82d246f4 (diff) | |
download | libvirt-b33c14b342e5c2abeeee91c852ef2032327cb355.tar.gz |
graphics: make address attribute for listen type='address' optional
We support omitting listen attribute of graphics element so we should
also support omitting address attribute of listen element. This patch
also updates libvirt to always add a listen element into domain XML
except for VNC graphics if socket attribute is specified.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'tests/xmconfigdata')
-rw-r--r-- | tests/xmconfigdata/test-no-source-cdrom.xml | 4 | ||||
-rw-r--r-- | tests/xmconfigdata/test-pci-devs.xml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/xmconfigdata/test-no-source-cdrom.xml b/tests/xmconfigdata/test-no-source-cdrom.xml index 246123c30d..c0b2d4307c 100644 --- a/tests/xmconfigdata/test-no-source-cdrom.xml +++ b/tests/xmconfigdata/test-no-source-cdrom.xml @@ -47,7 +47,9 @@ </console> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> - <graphics type='vnc' port='-1' autoport='yes'/> + <graphics type='vnc' port='-1' autoport='yes'> + <listen type='address'/> + </graphics> <video> <model type='cirrus' vram='16384' heads='1' primary='yes'/> </video> diff --git a/tests/xmconfigdata/test-pci-devs.xml b/tests/xmconfigdata/test-pci-devs.xml index a88853d2a3..0faae4334e 100644 --- a/tests/xmconfigdata/test-pci-devs.xml +++ b/tests/xmconfigdata/test-pci-devs.xml @@ -47,7 +47,9 @@ </console> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> - <graphics type='vnc' port='-1' autoport='yes'/> + <graphics type='vnc' port='-1' autoport='yes'> + <listen type='address'/> + </graphics> <video> <model type='cirrus' vram='16384' heads='1' primary='yes'/> </video> |