virt-manager/tests/cli-test-xml/compare/virt-xml-kvm-add-disk-default.xml
Andrea Bolognani b882dbde9c tests: Add some tests for virt-xml with KVM
We're mostly interested in how the default bus/model for
devices are influenced by knowledge about the guest OS, but
since the whole thing requires to be connected to the QEMU
driver we might as well create a new category and leave room
for more QEMU-specific tests being added down the line.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2018-11-13 12:11:09 +01:00

13 lines
389 B
XML

<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
+ <disk type="file" device="disk">
+ <driver name="qemu" type="qcow2"/>
+ <source file="/dev/default-pool/testvol1.img"/>
+ <target dev="hda" bus="ide"/>
+ </disk>
</devices>
</domain>
Domain 'test' defined successfully.
Changes will take effect after the domain is fully powered off.