[PATCH v2 0/3] xen/virtio: support grant based virtio on x86

From: Juergen Gross
Date: Fri Oct 07 2022 - 02:41:52 EST


Add basic support for virtio with grants on x86 by defaulting the
backend to be in dom0 in the case the guest kernel was built with
CONFIG_XEN_VIRTIO_FORCE_GRANT.

Juergen Gross (3):
xen/virtio: restructure xen grant dma setup
xen/virtio: use dom0 as default backend for
CONFIG_XEN_VIRTIO_FORCE_GRANT
xen/virtio: enable grant based virtio on x86

arch/x86/xen/enlighten_hvm.c | 2 +-
arch/x86/xen/enlighten_pv.c | 2 +-
drivers/xen/grant-dma-ops.c | 83 +++++++++++++++++++++++++-----------
include/xen/xen-ops.h | 6 +++
4 files changed, 65 insertions(+), 28 deletions(-)

--
2.35.3