[libvirt] [PATCH 04/10] qemu: Properly report failed migration
Peter Krempa
pkrempa at redhat.com
Fri May 22 12:01:53 UTC 2015
On Fri, May 22, 2015 at 00:42:37 +0200, Jiri Denemark wrote:
> Because we are polling we may detect some errors after we asked QEMU for
> migration status even though they occurred before. If this happens and
> QEMU reports migration completed successfully, we would happily report
> the migration succeeded even though we should have cancelled it because
> of the other error.
>
> In practise it is not a big issue now but it will become a much bigger
> issue once the check for storage migration status is moved inside the
> loop in qemuMigrationWaitForCompletion.
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> src/qemu/qemu_migration.c | 31 ++++++++++++++-----------------
> 1 file changed, 14 insertions(+), 17 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/20150522/bbddc380/attachment-0001.sig>
More information about the libvir-list
mailing list