]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
hw/xen: Add backend 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>
Sun, 29 Jan 2023 21:54:00 +0000 (22:54 +0100)
commit04c63e71013f515bc6ac9579ecb5103c7831d750
treebaf03ea15dbb3d2470d458d259298d85f038c9af
parent62272475c7905bb2a9d092dfacac11adac43009c
hw/xen: Add backend 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 stuck to
a page at a time.

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