]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Copy completed migration stats only on success
authorJiri Denemark <jdenemar@redhat.com>
Thu, 1 Oct 2015 19:54:38 +0000 (21:54 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 6 Oct 2015 14:15:21 +0000 (16:15 +0200)
commitb106c8b910ec49f1018146dd82b0f93833a66600
treef47fe63df7c84173f804810505f7d59fac9c14ec
parentd27c66dbaae33d9b463eab8a8a2b0ad8cebff06a
qemu: Copy completed migration stats only on success

The destination host gets detailed statistics about the current
migration form the source host via migration cookie and copies them to
the domain object so that they can be queried using
virDomainGetJobStats. However, we should only copy statistics to the
domain object when migration finished successfully.

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