diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c index 28d422b39f..28240c42ce 100644 --- a/hw/vfio/migration.c +++ b/hw/vfio/migration.c @@ -480,9 +480,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,