[libvirt] [PATCH v2] qemu: Always remove domain object if MigratePrepare fails

Jiri Denemark jdenemar at redhat.com
Wed Sep 28 08:11:47 UTC 2011


On Tue, Sep 27, 2011 at 09:26:59 -0600, Eric Blake wrote:
> On 09/27/2011 07:23 AM, Jiri Denemark wrote:
> > If migration failed in Prepare phase after virDomainAssignDef and before
> > a job is started, the domain object was not properly removed.
> > ---
> > Notes:
> >      Version 2:
> >      - only remove the inactive domain if ret<  0
> >
> >   src/qemu/qemu_migration.c |   11 ++++++-----
> >   1 files changed, 6 insertions(+), 5 deletions(-)
> 
> ACK.

Pushed, thanks.

Jirka




More information about the libvir-list mailing list