[PATCH v4 1/3] tests: qemuxml2argv: Use scsi controller instead of ide in pseries

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

 



Adding an IDE controller for a machinetype that has no built-in IDE
controller, Libvirt will log an error. Currently the machinetype list
which returns by qemuDomainMachineHasBuiltinIDE only includes 440fx,
malta, sun4u and g3beige.

Signed-off-by: Lin Ma <lma@xxxxxxxx>
---
 tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.xml b/tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.xml
index be0ede6bd..df82cfd0e 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.xml
@@ -17,7 +17,7 @@
     <disk type='block' device='disk'>
       <driver name='qemu' type='raw'/>
       <source dev='/dev/HostVG/QEMUGuest1'/>
-      <target dev='hda' bus='ide'/>
+      <target dev='hda' bus='scsi'/>
       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
     </disk>
     <disk type='block' device='floppy'>
@@ -34,7 +34,7 @@
     </disk>
     <controller type='usb' index='0'/>
     <controller type='fdc' index='0'/>
-    <controller type='ide' index='0'/>
+    <controller type='scsi' index='0'/>
     <controller type='pci' index='0' model='pci-root'/>
     <memballoon model='none'/>
   </devices>
-- 
2.14.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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