diff options
| author | Paul Durrant <paul.durrant@citrix.com> | 2018-05-17 16:35:54 +0100 |
|---|---|---|
| committer | Stefano Stabellini <sstabellini@kernel.org> | 2018-05-22 11:43:21 -0700 |
| commit | 3fe12b8403111021e6eaae3b44d01a34922c176a (patch) | |
| tree | de878ccca498265c92af8d1b004c3f12825b24c1 /include/hw/xen/xen_backend.h | |
| parent | 58560f2ae71b99d3032432a4a8457bb2cb21bce1 (diff) | |
| download | focaccia-qemu-3fe12b8403111021e6eaae3b44d01a34922c176a.tar.gz focaccia-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/xen_backend.h')
0 files changed, 0 insertions, 0 deletions