diff options
| author | Peter Xu <peterx@redhat.com> | 2023-10-30 12:33:42 -0400 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2023-11-01 16:13:58 +0100 |
| commit | 62f5da7dd10a594fb30cebb5569dc738456f7131 (patch) | |
| tree | a855f570ec8cf9bfe2cead8ba9eea211bce13583 /include/hw/qdev-properties-system.h | |
| parent | c64a59552e44fbae22a565eec3632df59e79d57c (diff) | |
| download | focaccia-qemu-62f5da7dd10a594fb30cebb5569dc738456f7131.tar.gz focaccia-qemu-62f5da7dd10a594fb30cebb5569dc738456f7131.zip | |
migration: Set downtime_start even for postcopy
Postcopy calculates its downtime separately. It always sets MigrationState.downtime properly, but not MigrationState.downtime_start. Make postcopy do the same as other modes on properly recording the timestamp when the VM is going to be stopped. Drop the temporary variable in postcopy_start() along the way. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231030163346.765724-2-peterx@redhat.com>
Diffstat (limited to 'include/hw/qdev-properties-system.h')
0 files changed, 0 insertions, 0 deletions