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).
42 lines
986 B
XML
42 lines
986 B
XML
<domain type='' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
|
<name></name>
|
|
<title></title>
|
|
<description></description>
|
|
<uuid></uuid>
|
|
<memory></memory>
|
|
<vcpu>1</vcpu>
|
|
<cpu mode='host-passthrough'>
|
|
<feature policy='optional' name='vmx'/>
|
|
<feature policy='optional' name='svm'/>
|
|
<topology sockets='1' cores='2' threads='1'/>
|
|
</cpu>
|
|
<os>
|
|
<type>hvm</type>
|
|
<bootmenu enable='no'/>
|
|
<kernel></kernel>
|
|
<initrd></initrd>
|
|
<cmdline></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 type='mouse' bus='ps2'>
|
|
</input>
|
|
<graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='127.0.0.1' keymap='en-us'/>
|
|
<video>
|
|
<model type='cirrus' vram='16384' heads='1'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|