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@xxxxxxxxxx> --- 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 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list