[libvirt] [PATCH 3/3] test: make hostdev-vfio test able to pass qemuargv2xmltest

Laine Stump laine at laine.org
Fri Jun 6 13:54:37 UTC 2014


Before we can add the hostdev-vfio test to the list in
qemuargv2xmltest, we need to add in the <driver> element that is
automatically put in the <disk> by qemuParseCommandLineString.

This will be squashed into the commit that adds hostdev-vfio to
qemuargv2xmltest.
---
 tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio.xml b/tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio.xml
index 8daa53a..b99f798 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-hostdev-vfio.xml
@@ -15,6 +15,7 @@
   <devices>
     <emulator>/usr/bin/qemu</emulator>
     <disk type='block' device='disk'>
+      <driver name='qemu' type='raw'/>
       <source dev='/dev/HostVG/QEMUGuest2'/>
       <target dev='hda' bus='ide'/>
       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
-- 
1.9.3




More information about the libvir-list mailing list