OpenCloudOS-Kernel/drivers/vfio/pci/mlx5
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: 0dce165b1a ("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
..
Kconfig
Makefile
cmd.c vfio/mlx5: Fix range size calculation upon tracker creation 2023-02-09 11:43:06 -07:00
cmd.h vfio/mlx5: Improve the target side flow to reduce downtime 2023-01-30 12:16:15 -07:00
main.c vfio/mlx5: Fix the report of dirty_bytes upon pre-copy 2023-03-13 12:50:59 -06:00