vfio: Add function to start and stop dirty pages tracking
authorKirti Wankhede <kwankhede@nvidia.com>
Mon, 26 Oct 2020 09:36:22 +0000 (15:06 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Sun, 1 Nov 2020 19:30:51 +0000 (12:30 -0700)
commite663f516830c61f1dcafd2dda810126c14327b15
treef636f8a58b629ea9cc151ce74353bc2830d6fbbc
parent87ea529c5020124440cd892a038dffe6057fd613
vfio: Add function to start and stop dirty pages tracking

Call VFIO_IOMMU_DIRTY_PAGES ioctl to start and stop dirty pages tracking
for VFIO devices.

Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/migration.c