diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2020-05-28 23:30:50 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-05-29 00:53:24 +0300 |
commit | b704fd14a06f678f080e44db28061f1bcb1f595c (patch) | |
tree | aaacf254f9ed728d2a1500b9aed2d4259af4846f /crypto/fcrypt.c | |
parent | cade075f265b25c3d6c13486e1bf0fbed9935a4a (diff) | |
download | linux-b704fd14a06f678f080e44db28061f1bcb1f595c.tar.xz |
vfio iommu: Add ioctl definition for dirty pages tracking
IOMMU container maintains a list of all pages pinned by vfio_pin_pages API.
All pages pinned by vendor driver through this API should be considered as
dirty during migration. When container consists of IOMMU capable device and
all pages are pinned and mapped, then all pages are marked dirty.
Added support to start/stop dirtied pages tracking and to get bitmap of all
dirtied pages for requested IO virtual address range.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Neo Jia <cjia@nvidia.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions