aboutsummaryrefslogtreecommitdiff
path: root/hw/block
diff options
context:
space:
mode:
authorPaul Durrant <paul.durrant@citrix.com>2018-05-17 16:35:54 +0100
committerStefano Stabellini <sstabellini@kernel.org>2018-05-22 11:43:21 -0700
commit3fe12b8403111021e6eaae3b44d01a34922c176a (patch)
treede878ccca498265c92af8d1b004c3f12825b24c1 /hw/block
parent58560f2ae71b99d3032432a4a8457bb2cb21bce1 (diff)
downloadqemu-3fe12b8403111021e6eaae3b44d01a34922c176a.zip
qemu-3fe12b8403111021e6eaae3b44d01a34922c176a.tar.gz
qemu-3fe12b8403111021e6eaae3b44d01a34922c176a.tar.bz2
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 'hw/block')
0 files changed, 0 insertions, 0 deletions