]> git.proxmox.com Git - mirror_qemu.git/commit
migration: split use of MigrationState.total_time
authorPeter Xu <peterx@redhat.com>
Wed, 3 Jan 2018 12:20:08 +0000 (20:20 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 Jan 2018 11:48:08 +0000 (12:48 +0100)
commit4af246a34e3155365e6be9dda201f3467d0498d9
treeef2202e75e0ac913eda9f97bab6db59b429b1040
parentdeb74fb6701755a4f864977608ea3919e4970fae
migration: split use of MigrationState.total_time

It was used either to:

1. store initial timestamp of migration start, and
2. store total time used by last migration

Let's provide two parameters for each of them.  Mix use of the two is
slightly misleading.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/migration.h