mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +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)
40 lines
1.2 KiB
XML
40 lines
1.2 KiB
XML
<domain type="kvm">
|
|
<name>TestGuest</name>
|
|
<currentMemory>204800</currentMemory>
|
|
<memory>409600</memory>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<vcpu cpuset="1-3">5</vcpu>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type="file" device="cdrom">
|
|
<target dev="hda" bus="ide"/>
|
|
<driver name="qemu" type="qcow2"/>
|
|
<source file="/dev/default-pool/default-vol"/>
|
|
</disk>
|
|
<disk type="block" device="cdrom">
|
|
<target dev="hdb" bus="ide"/>
|
|
<driver name="qemu" type="raw"/>
|
|
<source dev="/dev/disk-pool/diskvol1"/>
|
|
</disk>
|
|
<disk type="block" device="cdrom">
|
|
<target dev="hdc" bus="ide"/>
|
|
<driver name="qemu" type="raw"/>
|
|
<source dev="/dev/disk-pool/diskvol1"/>
|
|
</disk>
|
|
<disk type="file" device="floppy">
|
|
<target dev="fda" bus="fdc"/>
|
|
<driver name="qemu" type="qcow2"/>
|
|
<source file="/dev/default-pool/default-vol"/>
|
|
</disk>
|
|
<disk type="block" device="floppy">
|
|
<target dev="fdb" bus="fdc"/>
|
|
<driver name="qemu" type="raw"/>
|
|
<source dev="/dev/disk-pool/diskvol1"/>
|
|
</disk>
|
|
</devices>
|
|
</domain>
|