diff options
author | Paul Durrant | 2018-05-17 17:35:54 +0200 |
---|---|---|
committer | Stefano Stabellini | 2018-05-22 20:43:21 +0200 |
commit | 3fe12b8403111021e6eaae3b44d01a34922c176a (patch) | |
tree | de878ccca498265c92af8d1b004c3f12825b24c1 /include/hw/xen | |
parent | xen: remove other open-coded use of libxengnttab (diff) | |
download | qemu-3fe12b8403111021e6eaae3b44d01a34922c176a.tar.gz qemu-3fe12b8403111021e6eaae3b44d01a34922c176a.tar.xz qemu-3fe12b8403111021e6eaae3b44d01a34922c176a.zip |
xen_backend: add an emulation of grant copy
Not all Xen environments support the xengnttab_grant_copy() operation.
E.g. where the OS is FreeBSD or Xen is older than 4.8.0.
This patch introduces an emulation of that operation using
xengnttab_map_domain_grant_refs() and memcpy() for those environments.
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 'include/hw/xen')
0 files changed, 0 insertions, 0 deletions