summaryrefslogtreecommitdiffstats
path: root/hw/usb
diff options
context:
space:
mode:
authorPaul Durrant2018-05-17 17:35:51 +0200
committerStefano Stabellini2018-05-22 20:43:21 +0200
commit9838824affced9e4db01a369dd28c14f694fa9b9 (patch)
tree20fa01cab7d804cb706849cc76929abac20be725 /hw/usb
parentxen: add a meaningful declaration of grant_copy_segment into xen_common.h (diff)
downloadqemu-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