[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: Clean up setdefault in do_domain_create
# HG changeset patch # User Ian Jackson <ian.jackson@xxxxxxxxxxxxx> # Date 1336759138 -3600 # Node ID bf91e2bc1b88558fe5a395cb3f94c948a570bfc0 # Parent 8655160877d21874a97c16d061f84b2812caa2b0 libxl: Clean up setdefault in do_domain_create do_domain_create called libxl__domain_create_info_setdefault twice. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Acked-by: Ian Campbell <Ian.Campbell@xxxxxxxxxx> Committed-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- diff -r 8655160877d2 -r bf91e2bc1b88 tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c Fri May 11 18:58:58 2012 +0100 +++ b/tools/libxl/libxl_create.c Fri May 11 18:58:58 2012 +0100 @@ -573,9 +573,6 @@ static int do_domain_create(libxl__gc *g ret = libxl__domain_create_info_setdefault(gc, &d_config->c_info); if (ret) goto error_out; - ret = libxl__domain_create_info_setdefault(gc, &d_config->c_info); - if (ret) goto error_out; - ret = libxl__domain_make(gc, &d_config->c_info, &domid); if (ret) { LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "cannot make domain: %d", ret); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |