hw/xen: Implement soft reset for emulated gnttab
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 10 Jan 2023 01:09:04 +0000 (01:09 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 7 Mar 2023 17:04:30 +0000 (17:04 +0000)
commitde26b26197895857631863e6dea575b91e86f6d5
treedf4755031c4ae20a6a083739212205623863c206
parentd05864d23b1aa3263cd645e1dd881b543b0ad447
hw/xen: Implement soft reset for emulated gnttab

This is only part of it; we will also need to get the PV back end drivers
to tear down their own mappings (or do it for them, but they kind of need
to stop using the pointers too).

Some more work on the actual PV back ends and xen-bus code is going to be
needed to really make soft reset and migration fully functional, and this
part is the basis for that.

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