[libvirt] [PATCH v2] qemu: Always remove domain object if MigratePrepare fails
Eric Blake
eblake at redhat.com
Tue Sep 27 15:26:59 UTC 2011
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.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list