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 /hw/core/qdev-properties-system.c | |
parent | c64a59552e44fbae22a565eec3632df59e79d57c (diff) |
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 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions