xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix build error in libxl
@ 2010-12-23  2:08 Zhang, Yang Z
  2011-01-03 13:40 ` Christoph Egger
  0 siblings, 1 reply; 18+ messages in thread
From: Zhang, Yang Z @ 2010-12-23  2:08 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Keir Fraser

Move free(disks) into the bracket, or it will show error 'disks' used uninitialized when build libxl.

best regards
yang

diff -r f69037cc4674 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Wed Dec 22 17:48:31 2010 +0000
+++ b/tools/libxl/libxl.c       Thu Dec 23 10:03:35 2010 +0800
@@ -1402,8 +1402,8 @@
             }
             libxl_device_disk_destroy(&disks[i]);
         }
+        free(disks);
     }
-    free(disks);
     flexarray_set(dm_args, num++, NULL);
     return (char **) flexarray_contents(dm_args);
 }

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0 of 5] support of NUMA topology in xl
@ 2010-12-09 10:51 Juergen Gross
  2010-12-09 12:29 ` Ian Campbell
  0 siblings, 1 reply; 18+ messages in thread
From: Juergen Gross @ 2010-12-09 10:51 UTC (permalink / raw)
  To: xen-devel

Patch 1 adds a libxl function to retireve topology information from hypervisor
Patch 2 adds support of -n option to xl info
Patch 3 adds possibility to specify complete nodes instead of cpus for cpupools
Patch 4 adds possibility to rename a cpupool (libxl and xl command)
Patch 5 adds a new xl command cpupool-numa-split to create one cpupool per numa node

9 files changed, 536 insertions(+), 21 deletions(-)
tools/libxl/libxl.c               |  167 ++++++++++++++++++++
tools/libxl/libxl.h               |   11 +
tools/libxl/libxl.idl             |    7 
tools/libxl/libxl_utils.c         |   28 +++
tools/libxl/libxl_utils.h         |    2 
tools/libxl/xl.h                  |    2 
tools/libxl/xl_cmdimpl.c          |  300 +++++++++++++++++++++++++++++++++++--
tools/libxl/xl_cmdtable.c         |   16 +
tools/python/xen/lowlevel/xl/xl.c |   24 ++

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-01-05 23:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23  2:08 [PATCH] fix build error in libxl Zhang, Yang Z
2011-01-03 13:40 ` Christoph Egger
2010-12-09 12:39   ` [PATCH 0 of 5] support of NUMA topology in xl Juergen Gross
2010-12-09 12:39     ` [PATCH 1 of 5] Support getting topology info in libxl Juergen Gross
2010-12-09 13:11       ` Gianni Tedesco
2010-12-09 13:19         ` Juergen Gross
2010-12-10 17:30           ` Ian Jackson
2010-12-09 12:39     ` [PATCH 2 of 5] support topolgy info in xl info Juergen Gross
2010-12-09 12:39     ` [PATCH 3 of 5] Extend cpupools to support numa Juergen Gross
2010-12-09 12:39     ` [PATCH 4 of 5] Support renaming of cpupools Juergen Gross
2010-12-09 12:39     ` [PATCH 5 of 5] Support new xl command cpupool-numa-split Juergen Gross
2010-12-17  6:09     ` [PATCH 0 of 5] support of NUMA topology in xl Juergen Gross
2010-12-17 17:46       ` Ian Jackson
2010-12-17 17:50         ` Keir Fraser
2010-12-17 21:42         ` [PATCH] xl: fix compilation warning on libxl.c Wei Huang
2011-01-05 23:39           ` [PATCH] xl: fix compilation warning on libxl.c [and 2 more messages] Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2010-12-09 10:51 [PATCH 0 of 5] support of NUMA topology in xl Juergen Gross
2010-12-09 12:29 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).