On 22/02/2023 19:48, Avihai Horon wrote:
Changes from v1 [4]: - Rebased on latest master branch. As part of it, made some changes in pre-copy to adjust it to Juan's new patches: 1. Added a new patch that passes threshold_size parameter to .state_pending_{estimate,exact}() handlers. 2. Added a new patch that refactors vfio_save_block(). 3. Changed the pre-copy patch to cache and report pending pre-copy size in the .state_pending_estimate() handler. - Removed unnecessary P2P code. This should be added later on when P2P support is added. (Alex) - Moved the dirty sync to be after the DMA unmap in vfio_dma_unmap() (patch #11). (Alex) - Stored vfio_devices_all_device_dirty_tracking()'s value in a local variable in vfio_get_dirty_bitmap() so it can be re-used (patch #11). - Refactored the viommu device dirty tracking ranges creation code to make it clearer (patch #15). - Changed overflow check in vfio_iommu_range_is_device_tracked() to emphasize that we specifically check for 2^64 wrap around (patch #15). - Added R-bs / Acks. Thanks. [1] https://lore.kernel.org/qemu-devel/167658846945.932837.1420176491103357684.stgit@omen/ [2] https://lore.kernel.org/kvm/20221206083438.37807-3-yish...@nvidia.com/ [3] https://lore.kernel.org/netdev/20220908183448.195262-4-yish...@nvidia.com/
and here is v1 link: [4] https://lore.kernel.org/qemu-devel/20230126184948.10478-1-avih...@nvidia.com/ Thanks.