summary refs log tree commit diff stats
path: root/include/hw/qdev-properties-system.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2023-10-30 12:33:42 -0400
committerJuan Quintela <quintela@redhat.com>2023-11-01 16:13:58 +0100
commit62f5da7dd10a594fb30cebb5569dc738456f7131 (patch)
treea855f570ec8cf9bfe2cead8ba9eea211bce13583 /include/hw/qdev-properties-system.h
parentc64a59552e44fbae22a565eec3632df59e79d57c (diff)
downloadfocaccia-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