xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@citrix.com>
To: xen-devel@lists.xen.org
Cc: George Dunlap <george.dunlap@citrix.com>
Subject: [PATCH v5 0/3] tools: Return failure when the command failed for more xl commands
Date: Thu, 24 Mar 2016 17:17:21 +0000	[thread overview]
Message-ID: <1458839844-26238-1-git-send-email-george.dunlap@citrix.com> (raw)

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@lists.xen.org
http://lists.xen.org/xen-devel

             reply	other threads:[~2016-03-24 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-24 17:17 George Dunlap [this message]
2016-03-24 17:17 ` [PATCH v5 1/3] libxl: Remove pointless hypercall from libxl_set_memory_target George Dunlap
2016-03-24 17:17 ` [PATCH v5 2/3] xl: Make set_memory_target return an error code on failure George Dunlap
2016-03-24 17:17 ` [PATCH v5 3/3] xl: Return an error on failed cd-insert George Dunlap
2016-03-25 19:51 ` [PATCH v5 0/3] tools: Return failure when the command failed for more xl commands Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1458839844-26238-1-git-send-email-george.dunlap@citrix.com \
    --to=george.dunlap@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).