[libvirt] [PATCH 2/5] qemu: Copy completed migration stats only on success

Peter Krempa pkrempa at redhat.com
Tue Oct 6 06:53:30 UTC 2015


On Mon, Oct 05, 2015 at 16:15:59 +0200, Jiri Denemark wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 25 ++++++++++++++-----------
>  1 file changed, 14 insertions(+), 11 deletions(-)
> 

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151006/e880ce17/attachment-0001.sig>


More information about the libvir-list mailing list