diff options
author | Paul Durrant | 2018-05-17 17:35:51 +0200 |
---|---|---|
committer | Stefano Stabellini | 2018-05-22 20:43:21 +0200 |
commit | 9838824affced9e4db01a369dd28c14f694fa9b9 (patch) | |
tree | 20fa01cab7d804cb706849cc76929abac20be725 /hw/usb | |
parent | xen: add a meaningful declaration of grant_copy_segment into xen_common.h (diff) | |
download | qemu-9838824affced9e4db01a369dd28c14f694fa9b9.tar.gz qemu-9838824affced9e4db01a369dd28c14f694fa9b9.tar.xz qemu-9838824affced9e4db01a369dd28c14f694fa9b9.zip |
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>
Diffstat (limited to 'hw/usb')
0 files changed, 0 insertions, 0 deletions