]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Properly update completed migration stats
authorJiri Denemark <jdenemar@redhat.com>
Thu, 18 Feb 2016 13:44:48 +0000 (14:44 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 8 Mar 2016 15:25:59 +0000 (16:25 +0100)
commit5d01e8666b8119779d11f0aa58b8521d14a164ea
treed0aa3b6da66c0d8ecfb5acd9d1d65cfd84545f05
parente031560e8719ee44bcedcc02019f13169858b8a3
qemu: Properly update completed migration stats

We should not overwrite all migration statistics on the source with the
numbers sent by the destination since the source may have an updated
view in some cases (such as post-copy migration). It's safer to update
just the timing info we need to get from the destination and be prepared
for the future. And we should only do all this after a successful
migration.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_migration.c