Message ID | 20241024053203.1559456-2-clg@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,1/4] vfio/migration: Report only stop-copy size in vfio_state_pending_exact() | expand |
diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c index 17199b73aeea02545338b41b180edade2ec2ddcc..992dc3b1025729877d9fbe6ce9a4dbaf4dbd8a07 100644 --- a/hw/vfio/migration.c +++ b/hw/vfio/migration.c @@ -576,9 +576,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,