diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2025-07-02 14:58:50 -0700 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-07-03 13:42:28 +0200 |
commit | a6f2f9c42f3a5418fc7000b1fd331b086b6133d9 (patch) | |
tree | e988bbe2146315535a3792d17b7df7bdc8fe2280 /include/hw | |
parent | 06c6a65852af0b7648cdb6ff6cf2e66929a7b5f5 (diff) | |
download | qemu-a6f2f9c42f3a5418fc7000b1fd331b086b6133d9.zip qemu-a6f2f9c42f3a5418fc7000b1fd331b086b6133d9.tar.gz qemu-a6f2f9c42f3a5418fc7000b1fd331b086b6133d9.tar.bz2 |
migration: vfio cpr state hook
Define a list of vfio devices in CPR state, in a subsection so that
older QEMU can be live updated to this version. However, new QEMU
will not be live updateable to old QEMU. This is acceptable because
CPR is not yet commonly used, and updates to older versions are unusual.
The contents of each device object will be defined by the vfio subsystem
in a subsequent patch.
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/1751493538-202042-14-git-send-email-steven.sistare@oracle.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/vfio/vfio-cpr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-cpr.h b/include/hw/vfio/vfio-cpr.h index 87b4206..286e3d4 100644 --- a/include/hw/vfio/vfio-cpr.h +++ b/include/hw/vfio/vfio-cpr.h @@ -75,6 +75,7 @@ void vfio_cpr_delete_vector_fd(struct VFIOPCIDevice *vdev, const char *name, int nr); extern const VMStateDescription vfio_cpr_pci_vmstate; +extern const VMStateDescription vmstate_cpr_vfio_devices; void vfio_cpr_add_kvm_notifier(void); |