From: Vincent Hanquez Subject: [PATCH 0/8] solidy and cleanup libxl Date: Fri, 8 Jan 2010 11:17:53 +0000 Message-ID: <1262949481-25530-1-git-send-email-vincent.hanquez@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.6.6" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Vincent Hanquez List-Id: xen-devel@lists.xenproject.org --------------1.6.6 Content-Type: text/plain; charset="UTF-8"; format=fixed Content-Transfer-Encoding: quoted-printable this patchset fix lots of segfault (mostly in unexpected scenario), making libxl more fault resiliant. it also fix a couple of bugs that were introduced with previous patchset. Vincent Hanquez (8): don't ignore ctx_init errors if there is one. don't free ifname, can lead to double free returns errors if xc and/or xs has not been initialized properly. don't use the cloning logic in dm_xenstore_record_pid. remove all cloning logic. simplify the logic of domain_list to just return 1024 domains maximum don't try to delete path when they doesn't exists. initialize domid to -1 in domain_create tools/libxl/libxl.c | 83 ++++++++++++++++++------------------= ------ tools/libxl/libxl_device.c | 20 ++++------ tools/libxl/libxl_internal.c | 25 ++----------- tools/libxl/libxl_internal.h | 19 +--------- tools/libxl/libxl_xshelp.c | 19 ++++++++++ tools/libxl/xl.c | 64 +++++++++++++++++++++++++-------- 6 files changed, 116 insertions(+), 114 deletions(-) --------------1.6.6 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------1.6.6--