[virt-tools-list] [PATCH] virtinst: Use virtio bus type for disks on pSeries machines

Shivaprasad G Bhat sbhat at linux.vnet.ibm.com
Sat Apr 9 07:46:09 UTC 2016


pSeries doesn't support ide and so the default bus type was changed to use the
scsi before. It is now verified that virtio works better on pSeries with better
performance outcomes. So, change the default to virtio for disks.

Signed-off-by: Shivaprasad G Bhat <sbhat 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 da07410..ab6dcba 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -1036,7 +1036,7 @@ class Guest(XMLBuilder):
                     self._os_object.supports_virtiodisk()))):
                 d.bus = "virtio"
             elif self.os.is_pseries():
-                d.bus = "scsi"
+                d.bus = "virtio"
             elif self.os.is_arm():
                 d.bus = "sd"
             elif self.os.is_q35():




More information about the virt-tools-list mailing list