[PATCH 2/2] qemuxml2argvtest: disk-missing-target: Add two disks with same bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tests/qemuxml2argvdata/disk-missing-target-invalid.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qemuxml2argvdata/disk-missing-target-invalid.xml b/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
index 49cd73142a..11287f2afb 100644
--- a/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
+++ b/tests/qemuxml2argvdata/disk-missing-target-invalid.xml
@@ -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>
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux