Re: [PATCH] libxl: Fix Xen 4.4 libxlVmStart logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]