On 7/2/25 23:58, Steve Sistare wrote:
Save the MSI message area as part of vfio-pci vmstate, and preserve the
interrupt and notifier eventfd's. migrate_incoming loads the MSI data,
then the vfio-pci post_load handler finds the eventfds in CPR state,
rebuilds vector data structures, and attaches the interrupts to the new
KVM instance.
Signed-off-by: Steve Sistare <steven.sist...@oracle.com>
---
hw/vfio/pci.h | 2 +
include/hw/vfio/vfio-cpr.h | 8 ++++
hw/vfio/cpr.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++
hw/vfio/pci.c | 52 ++++++++++++++++++++++++-
4 files changed, 157 insertions(+), 2 deletions(-)
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Thanks,
C.