On 6/2/22 8:49 AM, Oleksandr wrote:

On 31.05.22 00:00, Oleksandr Tyshchenko wrote:

Hello all.

From: Juergen Gross <jgr...@suse.com>

In order to support virtio in Xen guests add a config option XEN_VIRTIO
enabling the user to specify whether in all Xen guests virtio should
be able to access memory via Xen grant mappings only on the host side.

Also set PLATFORM_VIRTIO_RESTRICTED_MEM_ACCESS feature from the guest
initialization code on Arm and x86 if CONFIG_XEN_VIRTIO is enabled.

Signed-off-by: Juergen Gross <jgr...@suse.com>
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshche...@epam.com>
Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>
---
Changes V1 -> V2:
    - new patch, split required changes from commit:
     "[PATCH V1 3/6] xen/virtio: Add option to restrict memory access under Xen"
    - rework according to new platform_has() infrastructure

Changes V2 -> V3:
    - add Stefano's R-b

May I please ask for the ack or comments for x86 side here?



Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com>



Reply via email to