mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-27 03:21:44 +03:00
4f63458050
The commit efab27afbf02743a3a2582e9a111eb1b7d985b26 in libvirt uses /dev/%s for logical pools, change the tests to accommodate it. (crobinso: additional fix to work with older libvirt)
41 lines
1.1 KiB
XML
41 lines
1.1 KiB
XML
<domain type='kvm'>
|
|
<name>clone-orig</name>
|
|
<uuid>aaa3ae22-fed2-bfbd-ac02-3bea3bcfad82</uuid>
|
|
<memory>262144</memory>
|
|
<currentMemory>262144</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<os>
|
|
<type arch='i686' machine='pc'>hvm</type>
|
|
<boot dev='cdrom'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
</features>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-kvm</emulator>
|
|
<disk type='file' device='disk'>
|
|
<driver name="qemu" type="vmdk"/>
|
|
<source file='/dev/default-pool/testvol1.img'/>
|
|
<target dev='hda' bus='ide'/>
|
|
</disk>
|
|
<disk type='block' device='disk'>
|
|
<source dev='/dev/disk-pool/diskvol1'/>
|
|
<target dev='hdb' bus='ide'/>
|
|
</disk>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:6c:a0:cb'/>
|
|
<source network='test1'/>
|
|
</interface>
|
|
<interface type='network'>
|
|
<mac address='52:54:00:6c:bb:ca'/>
|
|
<source network='test2'/>
|
|
</interface>
|
|
<input type='mouse' bus='ps2'/>
|
|
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
|
|
</devices>
|
|
</domain>
|