]> www.infradead.org Git - users/dwmw2/qemu.git/commit
vfio/common: Add device dirty page bitmap sync
authorJoao Martins <joao.m.martins@oracle.com>
Tue, 7 Mar 2023 12:54:47 +0000 (12:54 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 7 Mar 2023 17:21:22 +0000 (10:21 -0700)
commitb153402a8941c2193e91ac50ed9720c7da6ee8db
treec3612e621961fa2c1727c504984e8e42e084911e
parent6607109f0508f4fe218159e6cf083ec58ed6fbff
vfio/common: Add device dirty page bitmap sync

Add device dirty page bitmap sync functionality. This uses the device
DMA logging uAPI to sync dirty page bitmap from the device.

Device dirty page bitmap sync is used only if all devices within a
container support device dirty page tracking.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/r/20230307125450.62409-13-joao.m.martins@oracle.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/common.c