hw/xen: Map guest XENSTORE_PFN grant in emulated Xenstore
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 7 Jan 2023 13:54:07 +0000 (13:54 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 17:04:30 +0000 (17:04 +0000)
commitd05864d23b1aa3263cd645e1dd881b543b0ad447
treeb8cf72c7eab5d75ea2dc19e94ea758ec95e37b4a
parent032475127225e5949c021dcb1dfcc0ffec400157
hw/xen: Map guest XENSTORE_PFN grant in emulated Xenstore

We don't actually access the guest's page through the grant, because
this isn't real Xen, and we can just use the page we gave it in the
first place. Map the grant anyway, mostly for cosmetic purposes so it
*looks* like it's in use in the guest-visible grant table.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/kvm/xen_xenstore.c