[libvirt] [PATCH 4/5] qemu: Make updating stats in qemuMigrationCheckJobStatus optional

Peter Krempa pkrempa at redhat.com
Tue Oct 6 07:58:39 UTC 2015

On Mon, Oct 05, 2015 at 16:16:01 +0200, Jiri Denemark wrote:
> With new QEMU which supports migration events,
> qemuMigrationCheckJobStatus needs to explicitly query QEMU for migration
> statistics once migration is completed to make sure the caller sees
> up-to-date statistics with both old and new QEMU. However, some callers
> are not interested in the statistics at all and once we start waiting
> for a completed migration on the destination host too, checking the
> statistics would even fail. Let's push the decision whether to update
> the statistics or not to the caller.
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 14 +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)


-------------- 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/eb3b9a83/attachment-0001.sig>

More information about the libvir-list mailing list