[libvirt] [PATCH 2/3] qemu: Send migrate_cancel when aborting migration

Peter Krempa pkrempa at redhat.com
Thu May 22 14:06:30 UTC 2014


On 05/22/14 13:55, Jiri Denemark wrote:
> When QEMU reports failed or cancelled migration, we don't need to send
> it migrate_cancel QMP command. But in all other error paths, such as if
> we detect broken connection to a destination daemon or something else
> happens inside libvirt, we need to explicitly send migrate_cancel
> command instead of relying on the migration to be implicitly cancelled
> when destination QEMU is killed.
> 
> Because we were not doing so, one could end up with a paused domain
> after failed migration.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=807023
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 53 ++++++++++++++++++++++++-----------------------
>  1 file changed, 27 insertions(+), 26 deletions(-)
> 

ACK,

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140522/6e6bd54f/attachment-0001.sig>


More information about the libvir-list mailing list