mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
esx: Add VNC support
* src/conf/domain_conf.c: add defaults for the video device * src/esx/esx_vmx.[ch]: add VNC support to the VMX handling * tests/vmx2xmltest.c, tests/xml2vmxtest.c: add tests for the VNC support
This commit is contained in:
6
tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx
Normal file
6
tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx
Normal file
@@ -0,0 +1,6 @@
|
||||
config.version = "8"
|
||||
virtualHW.version = "4"
|
||||
RemoteDisplay.vnc.enabled = "true"
|
||||
RemoteDisplay.vnc.port = "5903"
|
||||
RemoteDisplay.vnc.keymap = "de"
|
||||
RemoteDisplay.vnc.password = "password"
|
||||
17
tests/vmx2xmldata/vmx2xml-graphics-vnc.xml
Normal file
17
tests/vmx2xmldata/vmx2xml-graphics-vnc.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<domain type='vmware'>
|
||||
<uuid>00000000-0000-0000-0000-000000000000</uuid>
|
||||
<memory>32768</memory>
|
||||
<currentMemory>32768</currentMemory>
|
||||
<vcpu>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>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<graphics type='vnc' port='5903' autoport='no' keymap='de' passwd='password'/>
|
||||
</devices>
|
||||
</domain>
|
||||
Reference in New Issue
Block a user