summary refs log tree commit diff stats
path: root/linux-headers/asm-generic/hugetlb_encode.h
diff options
context:
space:
mode:
authorKirti Wankhede <kwankhede@nvidia.com>2020-10-26 15:06:25 +0530
committerAlex Williamson <alex.williamson@redhat.com>2020-11-01 12:30:51 -0700
commit9e7b0442f23a92c27204d6f81a954f30f3126d33 (patch)
tree1aafbd09108fae21e1427bacec16bbaf3aa35953 /linux-headers/asm-generic/hugetlb_encode.h
parent9a04fe09576b0399646e80e57ff2d2324f7cf64d (diff)
downloadfocaccia-qemu-9e7b0442f23a92c27204d6f81a954f30f3126d33.tar.gz
focaccia-qemu-9e7b0442f23a92c27204d6f81a954f30f3126d33.zip
vfio: Add ioctl to get dirty pages bitmap during dma unmap
With vIOMMU, IO virtual address range can get unmapped while in pre-copy
phase of migration. In that case, unmap ioctl should return pages pinned
in that range and QEMU should find its correcponding guest physical
addresses and report those dirty.

Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Neo Jia <cjia@nvidia.com>
[aw: fix error_report types, fix cpu_physical_memory_set_dirty_lebitmap() cast]
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