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

[Xen-devel] [PATCH v5 0/3] tools: Return failure when the command failed for more xl commands



Return failure when the command failed for more xl commands:
- mem-set
- cd-insert

This makes xl more useful for scripting.

In the case of mem-set, it means first cleaning up
libxl_set_memory_target() to return useful error codes.

NB that these three patches are straight forward-ports of
already-acked patches.  (The other two I'll come back to another time,
or may make good OPW / GSoC fodder.)


George Dunlap (3):
  libxl: Remove pointless hypercall from libxl_set_memory_target
  xl: Make set_memory_target return an error code on failure
  xl: Return an error on failed cd-insert

 tools/libxl/libxl.c      |  5 -----
 tools/libxl/xl_cmdimpl.c | 48 +++++++++++++++++++++++++-----------------------
 2 files changed, 25 insertions(+), 28 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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