summary refs log tree commit diff stats
path: root/hw/vfio/cpr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfio: allow cpr-reboot migration if suspendedSteve Sistare2024-03-081-0/+20
| | | | | | | | | | | | | | Allow cpr-reboot for vfio if the guest is in the suspended runstate. The guest drivers' suspend methods flush outstanding requests and re-initialize the devices, and thus there is no device state to save and restore. The user is responsible for suspending the guest before initiating cpr, such as by issuing guest-suspend-ram to the qemu guest agent. Relax the vfio blocker so it does not apply to cpr, and add a notifier that verifies the guest is suspended. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>
* vfio: register container for cprSteve Sistare2024-03-081-0/+19
Define entry points to perform per-container cpr-specific initialization and teardown. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>