mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
ESX add tests for the VMX to/from domain XML mapping
* tests/.gitignore: ignore new test binaries * tests/Makefile.am: add new tests * tests/esxutilstest.c: test esxVMX_IndexToDiskName() * tests/vmx2xmldata/*: config files for the VMX to domain XML test * tests/vmx2xmltest.c: test the VMX to domain XML mapping * tests/xml2vmxdata/*: config files for the domain XML to VMX test * tests/xml2vmxtest.c: test the domain XML to VMX mapping
This commit is contained in:
committed by
Daniel Veillard
parent
a1c4d7d765
commit
af4c893eb7
25
tests/xml2vmxdata/xml2vmx-gsx-in-the-wild-2.xml
Normal file
25
tests/xml2vmxdata/xml2vmx-gsx-in-the-wild-2.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<domain type='vmware'>
|
||||
<name>Server2</name>
|
||||
<uuid>564d3301-267f-a0ef-8b7d-d45e98d6cba4</uuid>
|
||||
<memory>32768</memory>
|
||||
<currentMemory>32768</currentMemory>
|
||||
<vcpu>1</vcpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
</os>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<disk type='file' device='disk'>
|
||||
<source file='Debian-System1-0-cl3.vmdk'/>
|
||||
<target dev='hda' bus='ide'/>
|
||||
</disk>
|
||||
<interface type='bridge'>
|
||||
<mac address='00:0c:29:d6:cb:a4'/>
|
||||
<source bridge='net1'/>
|
||||
<target dev='/dev/vmnet1'/>
|
||||
</interface>
|
||||
</devices>
|
||||
</domain>
|
||||
Reference in New Issue
Block a user