Re: [PATCH V1 12/26] vfio-pci: preserve MSI

2025-02-06 Thread Steven Sistare
On 2/5/2025 11:48 AM, Cédric Le Goater wrote: On 1/29/25 15:43, 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

Re: [PATCH V1 12/26] vfio-pci: preserve MSI

2025-02-05 Thread Cédric Le Goater
On 1/29/25 15:43, 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

[PATCH V1 12/26] vfio-pci: preserve MSI

2025-01-29 Thread Steve Sistare
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.