]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/common: Move dirty tracking ranges update to helper
authorJoao Martins <joao.m.martins@oracle.com>
Mon, 17 Jun 2024 06:33:55 +0000 (08:33 +0200)
committerCédric Le Goater <clg@redhat.com>
Mon, 24 Jun 2024 21:15:31 +0000 (23:15 +0200)
commit344e70945db3af08862e37a8bb10afaf4c59f88b
treef07453b30a2a83c4e21f1a1975be3c795a7c1ea8
parent889833e5ae1fe83b39e065b7386eb020af7cf304
vfio/common: Move dirty tracking ranges update to helper

Separate the changes that update the ranges from the listener, to
make it reusable in preparation to expand its use to vIOMMU support.

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>
Tested-by: Eric Auger <eric.auger@redhat.com>
[ clg: - Rebased on upstream
       - Introduced vfio_dirty_tracking_update_range()
       - Fixed typ in commit log ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/common.c