[libvirt] [PATCH] libxl: Fix Xen 4.4 libxlVmStart logic
Eric Blake
eblake at redhat.com
Tue Nov 12 18:19:48 UTC 2013
On 11/12/2013 10:41 AM, Jason Andryuk wrote:
> ifdef LIBXL_HAVE_DOMAIN_CREATE_RESTORE_PARAMS hides a multi-line body
> for a brace-less else. Add braces to ensure proper logic is applied.
>
> Without this fix, new domains cannot be started. Both
> libxl_domain_create_new and libxl_domain_create_restore are called when
> starting a new domain leading to this error:
> libxl: error: libxl.c:324:libxl__domain_rename: domain with name "guest" already exists.
> libxl: error: libxl_create.c:800:initiate_domain_create: cannot make domain: -6
> ---
> src/libxl/libxl_driver.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
ACK and will push shortly. Congratulations on your first libvirt patch.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131112/7142cadd/attachment-0001.sig>
More information about the libvir-list
mailing list