summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKeqian Zhu <zhukeqian1@huawei.com>2021-01-22 12:26:34 +0300
committerAlex Williamson <alex.williamson@redhat.com>2021-02-01 23:40:52 +0300
commitd0a78f91761fcd837da1e7a4b0f8368873adc646 (patch)
tree028f869b0afbd543e98e0e0a4f7597d712c97e07 /scripts
parent1048ba83fb1c00cd24172e23e8263972f6b5d9ac (diff)
downloadlinux-d0a78f91761fcd837da1e7a4b0f8368873adc646.tar.xz
vfio/iommu_type1: Populate full dirty when detach non-pinned group
If a group with non-pinned-page dirty scope is detached with dirty logging enabled, we should fully populate the dirty bitmaps at the time it's removed since we don't know the extent of its previous DMA, nor will the group be present to trigger the full bitmap when the user retrieves the dirty bitmap. Fixes: d6a4c185660c ("vfio iommu: Implementation of ioctl for dirty pages tracking") Suggested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions