qemu-patch-raspberry4/include/hw/xen
Paul Durrant 9838824aff xen_backend: add grant table helpers
This patch adds grant table helper functions to the xen_backend code to
localize error reporting and use of xen_domid.

The patch also defers the call to xengnttab_open() until just before the
initialise method in XenDevOps is invoked. This method is responsible for
mapping the shared ring. No prior method requires access to the grant table.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
2018-05-22 11:43:21 -07:00
..
io xen: import ring.h from xen 2017-04-21 12:41:29 -07:00
xen.h xen: use libxendevice model to restrict operations 2017-04-21 12:40:14 -07:00
xen_backend.h xen_backend: add grant table helpers 2018-05-22 11:43:21 -07:00
xen_common.h xen: add a meaningful declaration of grant_copy_segment into xen_common.h 2018-05-22 11:43:21 -07:00
xen_pvdev.h xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00