[virt-tools-list] [virt-manager PATCH 6/6] addhardware: Don't prevent ppc64/pseries from using virtio-scsi

Andrea Bolognani abologna at redhat.com
Mon Mar 4 16:11:18 UTC 2019


This doesn't seem to do anything, as we end up with with a
virtio-scsi controller anyway both when using virt-install and
when using the GUI, and it's not correct anyway because there's
nothing preventing ppc64/pseries guests from using virtio-scsi.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 virtManager/addhardware.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index eb6967f9..6d1f7cce 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -1225,8 +1225,7 @@ class vmmAddHardware(vmmGObjectUI):
         controller_model = None
         if (bus == "scsi" and
             self.vm.get_hv_type() in ["qemu", "kvm", "test"] and
-            not self.vm.xmlobj.os.is_pseries() and not
-            any([c.type == "scsi"
+            not any([c.type == "scsi"
                  for c in self.vm.xmlobj.devices.controller])):
             controller_model = "virtio-scsi"
 
-- 
2.20.1




More information about the virt-tools-list mailing list