diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2024-07-22 22:13:23 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-07-23 17:14:52 +0200 |
commit | 52ce88229c2d63a223f4c822240e84c3daeb7f6e (patch) | |
tree | d0b2a94ff5a7ba7099b18024580e8c7cf608597c /module-common.c | |
parent | dddfd8d6670d2d63b851b0c976c3ae08592f4339 (diff) | |
download | qemu-52ce88229c2d63a223f4c822240e84c3daeb7f6e.zip qemu-52ce88229c2d63a223f4c822240e84c3daeb7f6e.tar.gz qemu-52ce88229c2d63a223f4c822240e84c3daeb7f6e.tar.bz2 |
vfio/iommufd: Implement VFIOIOMMUClass::set_dirty_tracking support
ioctl(iommufd, IOMMU_HWPT_SET_DIRTY_TRACKING, arg) is the UAPI that
enables or disables dirty page tracking. The ioctl is used if the hwpt
has been created with dirty tracking supported domain (stored in
hwpt::flags) and it is called on the whole list of iommu domains.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions