Re: [PATCH v6 2/2] s390: virtio: PV needs VIRTIO I/O device protection

From: Pierre Morel
Date: Tue Jul 14 2020 - 07:53:06 EST




On 2020-07-14 13:42, Christian Borntraeger wrote:

On 14.07.20 13:38, Pierre Morel wrote:
If protected virtualization is active on s390, the virtio queues are
not accessible to the host, unless VIRTIO_F_IOMMU_PLATFORM has been
negotiated. Use the new arch_validate_virtio_features() interface to
fail probe if that's not the case, preventing a host error on access
attempt.

Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>
Acked-by: Halil Pasic <pasic@xxxxxxxxxxxxx>

We will probably move this (and other related code) into a new file,
but we can do that later.
As for now:

Acked-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>


Thanks,
Pierre

--
Pierre Morel
IBM Lab Boeblingen