diff options
| author | Kirti Wankhede <kwankhede@nvidia.com> | 2020-10-26 15:06:17 +0530 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2020-11-01 12:30:50 -0700 |
| commit | 7c2f5f75f94a8820023a46169a4369fd8189a23c (patch) | |
| tree | 245decd5e45195cf1dc659cd62bdaa926d0efac4 /linux-headers/asm-generic/hugetlb_encode.h | |
| parent | 050c588c2ef6edd75769e6c4869d0ad625d5be90 (diff) | |
| download | focaccia-qemu-7c2f5f75f94a8820023a46169a4369fd8189a23c.tar.gz focaccia-qemu-7c2f5f75f94a8820023a46169a4369fd8189a23c.zip | |
vfio: Register SaveVMHandlers for VFIO device
Define flags to be used as delimiter in migration stream for VFIO devices. Added .save_setup and .save_cleanup functions. Map & unmap migration region from these functions at source during saving or pre-copy phase. Set VFIO device state depending on VM's state. During live migration, VM is running when .save_setup is called, _SAVING | _RUNNING state is set for VFIO device. During save-restore, VM is paused, _SAVING state is set for VFIO device. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Neo Jia <cjia@nvidia.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'linux-headers/asm-generic/hugetlb_encode.h')
0 files changed, 0 insertions, 0 deletions