diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c index 1149c6b374..3a97d56950 100644 --- a/hw/vfio/migration.c +++ b/hw/vfio/migration.c @@ -486,9 +486,6 @@ static void vfio_state_pending_exact(void *opaque, uint64_t *must_precopy, if (vfio_device_state_is_precopy(vbasedev)) { vfio_query_precopy_size(migration); - - *must_precopy += - migration->precopy_init_size + migration->precopy_dirty_size; } trace_vfio_state_pending_exact(vbasedev->name, *must_precopy, *can_postcopy,