[libvirt] [PATCH] qemu: Fix type of a completed job
Pavel Hrdina
phrdina at redhat.com
Fri Jan 12 09:20:18 UTC 2018
On Thu, Jan 11, 2018 at 10:48:55PM +0100, Jiri Denemark wrote:
> Libvirt 3.7.0 and earlier libvirt reported a migration job as completed
> immediately after QEMU finished sending migration data at which point
> migration was not really complete yet. Commit v3.7.0-29-g3f2d6d829e
> fixed this, but caused a regression in reporting statistics for
> completed jobs which started reporting the job as still running. This
> happened because the completed job statistics including the job status
> are copied from the running job before we finally mark it as completed.
>
> Let's make sure QEMU_DOMAIN_JOB_STATUS_COMPLETED is always set in the
> completed job info even when the job has not finished yet.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1523036
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> src/qemu/qemu_migration.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180112/d982ca84/attachment-0001.sig>
More information about the libvir-list
mailing list