summaryrefslogtreecommitdiffstats
path: root/hw/vfio/common.c
diff options
context:
space:
mode:
authorKirti Wankhede2020-10-26 10:36:26 +0100
committerAlex Williamson2020-11-01 20:30:51 +0100
commita22651053b59b7d40bf921e8819ea696a3b0a9d2 (patch)
treed81ad15bfed0bdc2d34ea8966355629276e57444 /hw/vfio/common.c
parentvfio: Add ioctl to get dirty pages bitmap during dma unmap (diff)
downloadqemu-a22651053b59b7d40bf921e8819ea696a3b0a9d2.tar.gz
qemu-a22651053b59b7d40bf921e8819ea696a3b0a9d2.tar.xz
qemu-a22651053b59b7d40bf921e8819ea696a3b0a9d2.zip
vfio: Make vfio-pci device migration capable
If the device is not a failover primary device, call vfio_migration_probe() and vfio_migration_finalize() to enable migration support for those devices that support it respectively to tear it down again. Removed migration blocker from VFIO PCI device specific structure and use migration blocker from generic structure of VFIO device. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Neo Jia <cjia@nvidia.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/common.c')
0 files changed, 0 insertions, 0 deletions