virt-manager/tests/data/xmlparse/change-media-out.xml
Cole Robinson 435c7181f1 tests: testdriver: Rename default-pool -> pool-dir
And move the path to not be rooted in /dev, which doesn't make
sense for a directory pool, and triggers some special /dev handling
in virtinst that we don't want in the common testing path.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-27 13:03:04 -05:00

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="/pool-dir/default-vol"/>
</disk>
<disk type="block" device="cdrom">
<target dev="hdb" bus="ide"/>
<driver name="qemu" type="raw"/>
<source dev="/dev/pool-logical/diskvol1"/>
</disk>
<disk type="block" device="cdrom">
<target dev="hdc" bus="ide"/>
<driver name="qemu" type="raw"/>
<source dev="/dev/pool-logical/diskvol1"/>
</disk>
<disk type="file" device="floppy">
<target dev="fda" bus="fdc"/>
<driver name="qemu" type="qcow2"/>
<source file="/pool-dir/default-vol"/>
</disk>
<disk type="block" device="floppy">
<target dev="fdb" bus="fdc"/>
<driver name="qemu" type="raw"/>
<source dev="/dev/pool-logical/diskvol1"/>
</disk>
</devices>
</domain>