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

Zhe Peng zpeng at redhat.com
Fri May 23 06:56:07 UTC 2014



----- Original Message -----
> From: "Wangrui (K)" <moon.wangrui at huawei.com>
> To: "Jiri Denemark" <jdenemar at redhat.com>, libvir-list at redhat.com
> Sent: Friday, May 23, 2014 9:40:23 AM
> Subject: Re: [libvirt] [PATCH 2/3] qemu: Send migrate_cancel when	aborting	migration
> 
> 
> 
> > -----Original Message-----
> > From: libvir-list-bounces at redhat.com
> > [mailto:libvir-list-bounces at redhat.com]
> > On Behalf Of Jiri Denemark
> > Sent: Thursday, May 22, 2014 7:55 PM
> > To: libvir-list at redhat.com
> > Subject: [libvirt] [PATCH 2/3] qemu: Send migrate_cancel when aborting
> > migration
> > 
> > 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
> 
> Hi, Jiri
> I'm interested in the patch. I want to know the specific scene.
> But the bug link you posted is about device_del. Is there another link about
> migration? (I think)

https://bugzilla.redhat.com/show_bug.cgi?id=1098833

> 
> 
> > Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> > ---
> 
> 
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
> 

-- 
Best Regards
Zhe Peng




More information about the libvir-list mailing list