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

From: Juergen Gross
Date: Thu Oct 06 2022 - 03:15:19 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 | 81 +++++++++++++++++++++++++-----------
include/xen/xen-ops.h | 1 +
4 files changed, 59 insertions(+), 27 deletions(-)

--
2.35.3