]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2argvtest: disk-missing-target: Add two disks with same bus
authorPeter Krempa <pkrempa@redhat.com>
Thu, 16 Dec 2021 13:07:48 +0000 (14:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 16 Dec 2021 14:58:06 +0000 (15:58 +0100)
A recent code movement introduced a bug which reproduces only when there
are two disks on the same bus missing the target. Improve the test case
for the missing target test.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/disk-missing-target-invalid.xml

index 49cd73142ab88902021f811f84493b68ea724cdc..11287f2afb1177d1477bdaccd9efe6dd5395f82f 100644 (file)
@@ -17,6 +17,9 @@
     <disk type='block' device='disk'>
       <source dev='/dev/HostVG/QEMUGuest1'/>
     </disk>
+    <disk type='block' device='disk'>
+      <source dev='/dev/HostVG/QEMUGuest2'/>
+    </disk>
     <memballoon model='virtio'/>
   </devices>
 </domain>