]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Store completed stats at the very end of migration
authorJiri Denemark <jdenemar@redhat.com>
Thu, 18 Feb 2016 13:02:15 +0000 (14:02 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 8 Mar 2016 15:25:47 +0000 (16:25 +0100)
commite031560e8719ee44bcedcc02019f13169858b8a3
tree4455a26dbf2938fd25e84feceb613d74a4329fb7
parent12a1631440c8db098bf4cba16e3fd4aca09951c4
qemu: Store completed stats at the very end of migration

Statistics for a completed migration only make sense if the migration
was successful. Let's not store them in priv->job.completed until we
are sure it was a success.

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