[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: do not explicitly initialise members of build info to zero
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1330604775 0 # Node ID f7be24bb62dbb7acef843f95cddd68988953f18f # Parent 6eac4a1ee6464e294c5c7310eb54f2566db4cf5e libxl: do not explicitly initialise members of build info to zero Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r 6eac4a1ee646 -r f7be24bb62db tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c Thu Mar 01 12:26:15 2012 +0000 +++ b/tools/libxl/libxl_create.c Thu Mar 01 12:26:15 2012 +0000 @@ -73,7 +73,6 @@ const libxl_domain_create_info *c_info) { memset(b_info, '\0', sizeof(*b_info)); - b_info->cpuid = NULL; b_info->type = c_info->type; b_info->max_memkb = LIBXL_MEMKB_DEFAULT; @@ -86,13 +85,7 @@ switch (b_info->type) { case LIBXL_DOMAIN_TYPE_HVM: - b_info->u.hvm.firmware = NULL; - b_info->u.hvm.bios = 0; b_info->u.hvm.timer_mode = LIBXL_TIMER_MODE_DEFAULT; - - b_info->u.hvm.vnc.display = 0; - b_info->u.hvm.serial = NULL; - b_info->u.hvm.usbdevice = NULL; break; case LIBXL_DOMAIN_TYPE_PV: b_info->u.pv.slack_memkb = 0; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |