mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
This adds websocket functionality for VNC. The websocket attribute may be used to specify the port to listen on (with -1 meaning auto-allocation and autoport having no effect due to security reasons).
39 lines
772 B
XML
39 lines
772 B
XML
<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>
|
|
<name/>
|
|
<title/>
|
|
<description/>
|
|
<uuid/>
|
|
<memory/>
|
|
<vcpu>1</vcpu>
|
|
<cpu mode='host-model'>
|
|
<model fallback='allow'/>
|
|
</cpu>
|
|
<os>
|
|
<type>hvm</type>
|
|
<kernel/>
|
|
<initrd/>
|
|
<cmdline/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<pae/>
|
|
</features>
|
|
<clock offset='utc'>
|
|
|
|
</clock>
|
|
<devices>
|
|
<serial type='pty'>
|
|
<target port='0'/>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target port='0'/>
|
|
</console>
|
|
<input bus='ps2' type='mouse'/>
|
|
<graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>
|
|
<video>
|
|
<model heads='1' type='cirrus' vram='16384'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|