]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Add emulated implementation of grant table operations
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 6 Jan 2023 09:59:28 +0000 (09:59 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 2 Mar 2023 13:52:09 +0000 (13:52 +0000)
commit92f0c99ba3633799b8ea27d548a8aa6f03e99dfd
treedc941b5f313906f9d26d2aa181b85f5b88d44fd5
parentb97632186abfe0ec599bbe8c6f6acbaed4aea627
hw/xen: Add emulated implementation of grant table operations

This is limited to mapping a single grant at a time, because under Xen the
pages are mapped *contiguously* into qemu's address space, and that's very
hard to do when those pages actually come from anonymous mappings in qemu
in the first place.

Eventually perhaps we can look at using shared mappings of actual objects
for system RAM, and then we can make new mappings of the same backing
store (be it deleted files, shmem, whatever). But for now let's stick to
a page at a time.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
hw/i386/kvm/xen_gnttab.c