[virt-tools-list] [virt-manager PATCH v2 4/4] tests: Adjust single-config-2 test

Fabiano Fidêncio fidencio at redhat.com
Mon Dec 10 09:36:17 UTC 2018


The test doesn't specify a value for disk, which makes it to be fetch
and used from libosinfo entry for fedora-unknown.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 .../compare/virt-install-singleton-config-2.xml       | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml b/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml
index 621639e1..a679a6e2 100644
--- a/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml
+++ b/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml
@@ -69,6 +69,7 @@
     <type arch="x86_64" machine="q35">hvm</type>
     <loader>/foo/bar</loader>
     <boot dev="network"/>
+    <boot dev="hd"/>
     <smbios mode="sysinfo"/>
     <bootmenu enable="no"/>
     <bios rebootTimeout="3"/>
@@ -130,6 +131,11 @@
   </pm>
   <devices>
     <emulator>/new/emu</emulator>
+    <disk type="file" device="disk">
+      <driver name="qemu" type="qcow2"/>
+      <source file="/var/lib/libvirt/images/foobar.qcow2"/>
+      <target dev="vda" bus="virtio"/>
+    </disk>
     <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
     <controller type="virtio-scsi" index="0"/>
     <filesystem type="mount" accessmode="mapped">
@@ -319,6 +325,11 @@
   </pm>
   <devices>
     <emulator>/new/emu</emulator>
+    <disk type="file" device="disk">
+      <driver name="qemu" type="qcow2"/>
+      <source file="/var/lib/libvirt/images/foobar.qcow2"/>
+      <target dev="vda" bus="virtio"/>
+    </disk>
     <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
     <controller type="virtio-scsi" index="0"/>
     <filesystem type="mount" accessmode="mapped">
-- 
2.19.1




More information about the virt-tools-list mailing list