mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
b33c14b342
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>
22 lines
613 B
XML
22 lines
613 B
XML
<domain type='vmware'>
|
|
<uuid>00000000-0000-0000-0000-000000000000</uuid>
|
|
<memory unit='KiB'>32768</memory>
|
|
<currentMemory unit='KiB'>32768</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='i686'>hvm</type>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<graphics type='vnc' port='5903' autoport='no' keymap='de' passwd='password'>
|
|
<listen type='address'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='vmvga' vram='4096' primary='yes'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|