Yishai Hadas 4928f67bc9 vfio/mlx5: Fix the report of dirty_bytes upon pre-copy
Fix the report of dirty_bytes upon pre-copy to include both the existing
data on the migration file and the device extra bytes.

This gives a better close estimation to what can be passed any more as
part of pre-copy.

Fixes: 0dce165b1adf ("vfio/mlx5: Introduce vfio precopy ioctl implementation")
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20230308155723.108218-1-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2023-03-13 12:50:59 -06:00
..
2023-02-25 11:52:57 -08:00
2023-02-25 11:52:57 -08:00
2022-12-15 13:12:15 -08:00
2023-02-25 11:52:57 -08:00
2023-02-25 11:52:57 -08:00
2023-02-25 11:52:57 -08:00