summaryrefslogtreecommitdiffstats
path: root/hw/vfio/migration.c
diff options
context:
space:
mode:
authorKirti Wankhede2020-10-26 10:36:20 +0100
committerAlex Williamson2020-11-01 20:30:50 +0100
commit74ee653799f93dfb119de9a248bdf0a85a68904f (patch)
tree03d1d5d0d8b88de305d5afdce6116fb840d311f9 /hw/vfio/migration.c
parentvfio: Add load state functions to SaveVMHandlers (diff)
downloadqemu-74ee653799f93dfb119de9a248bdf0a85a68904f.tar.gz
qemu-74ee653799f93dfb119de9a248bdf0a85a68904f.tar.xz
qemu-74ee653799f93dfb119de9a248bdf0a85a68904f.zip
memory: Set DIRTY_MEMORY_MIGRATION when IOMMU is enabled
mr->ram_block is NULL when mr->is_iommu is true, then fr.dirty_log_mask wasn't set correctly due to which memory listener's log_sync doesn't get called. This patch returns log_mask with DIRTY_MEMORY_MIGRATION set when IOMMU is enabled. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/migration.c')
0 files changed, 0 insertions, 0 deletions