virt-manager/tests/data/xmlparse/disk-change-bus-out.xml
Cole Robinson 4cb775773f devices: disk: Add change_bus()
Taken from virt-manager code. Move it here because it is strictly
an XML operation, and it will be easier to unit test

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-01-29 06:44:33 -05:00

23 lines
574 B
XML

<domain type="kvm">
<name>f30</name>
<memory unit="KiB">8294400</memory>
<os>
<type arch="x86_64">hvm</type>
</os>
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/mnt/data/devel/images/f30.qcow2"/>
<target dev="hdb" bus="ide"/>
</disk>
<disk type="file" device="cdrom">
<target dev="hda" bus="ide"/>
</disk>
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<target dev="sda" bus="scsi"/>
<readonly/>
</disk>
</devices>
</domain>