[virt-tools-list] [PATCH virt-install] virtio-scsi by default on power

Scott Garfinkle scottgar at linux.vnet.ibm.com
Wed Nov 29 21:41:03 UTC 2017


Power architecture guests should default to virtio-scsi rather than spapr-scsi 

Signed-off-by: Scott Garfinkle <scottgar at linux.vnet.ibm.com>
---
 virtinst/guest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/guest.py b/virtinst/guest.py
index 44554d4..bdf32a9 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -1014,7 +1014,7 @@ class Guest(XMLBuilder):
                     break
 
         # Add virtio-scsi controller if needed
-        if (self.os.is_arm_machvirt() and
+        if ((self.os.is_arm_machvirt() or self.os.is_pseries()) and
             not has_any_scsi and
             not has_virtio_scsi):
             for dev in self.get_devices("disk"):
-- 
1.8.3.1




More information about the virt-tools-list mailing list