[virt-tools-list] [PATCH virt-install] virtio-scsi by default on power
Cole Robinson
crobinso at redhat.com
Wed Dec 20 18:31:17 UTC 2017
On 11/29/2017 04:41 PM, Scott Garfinkle wrote:
> 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"):
>
ACK and pushed, with updated test suite data (python setup.py test
--regenerate)
Thanks,
Cole
More information about the virt-tools-list
mailing list