WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 0/6] libxl last fixups

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 0/6] libxl last fixups
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Mon, 11 Jan 2010 21:48:20 +0000
Cc: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Delivery-date: Mon, 11 Jan 2010 13:46:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Last batch of important fixups intertwined with various cleanups and stability 
fixes:

Lots of more values checking, and abort as soon as there are errors. Contains a
critical usability fix regarding waitpid (typo in option) and without this
batch it's very easy to trigger a SIGBUS in xenstored.

The library is now robust to:
- missing xenstored
- missing xenctrl privcmd
- not enough memory to build a domain
- missing vif devices
- and some usually unexpected situation

not addressed yet: fixup stubdomains building to have the same robustness.

Vincent Hanquez (6):
  tests a lots more of xl return value inside the library and in xl.
  do not try to set memory target with a number we haven't verified in set-mem.
  misc cleanup
  typo in old patch, lead to waitpid forever instead of waitpid with WNOHANG
  remove ctx argument to exec
  remove ctx dangerously passed to children.

 tools/libxl/libxl.c          |   54 +++++++++++++++++++++++++----------------
 tools/libxl/libxl_exec.c     |   22 +++++++---------
 tools/libxl/libxl_internal.h |    7 +----
 tools/libxl/xl.c             |   39 +++++++++++++++++++++++++----
 4 files changed, 78 insertions(+), 44 deletions(-)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel