[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.