summaryrefslogtreecommitdiff
path: root/tests/data/cli/compare/virt-install-many-devices.xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-09-13 09:38:06 -0400
committerCole Robinson <crobinso@redhat.com>2020-09-13 09:58:39 -0400
commitffc48af4ee844beac7958918498cf1f89607e0d4 (patch)
tree1f1c2591263661f34dc915f5576b197d2fd550fa /tests/data/cli/compare/virt-install-many-devices.xml
parent65a39a74950722eecaf165a42bd743ec86b4ef63 (diff)
downloadvirt-manager-ffc48af4ee844beac7958918498cf1f89607e0d4.tar.gz
cli: Add --disk source.file, source.dir, source.dev
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests/data/cli/compare/virt-install-many-devices.xml')
-rw-r--r--tests/data/cli/compare/virt-install-many-devices.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml
index 690267a7..41707db4 100644
--- a/tests/data/cli/compare/virt-install-many-devices.xml
+++ b/tests/data/cli/compare/virt-install-many-devices.xml
@@ -38,9 +38,9 @@
</pm>
<devices>
<emulator>/usr/bin/qemu-kvm</emulator>
- <disk type="file" device="disk">
+ <disk type="block" device="disk">
<driver name="qemu" type="raw" cache="writeback" io="threads" iothread="3"/>
- <source file="/dev/default-pool/UPPER"/>
+ <source dev="/dev/default-pool/UPPER"/>
<target dev="vda" bus="virtio"/>
<serial>WD-WMAP9A966149</serial>
<wwn>123456789abcdefa</wwn>
@@ -232,6 +232,11 @@
<source file="/fooroot.img"/>
<target dev="vds" bus="virtio"/>
</disk>
+ <disk type="dir" device="disk">
+ <driver name="qemu"/>
+ <source dir="/"/>
+ <target dev="vdt" bus="virtio"/>
+ </disk>
<controller type="usb" index="0" model="ich9-ehci1">
<address type="pci" domain="0" bus="0" slot="4" function="7"/>
</controller>