From: Dario Faggioli <raistlin@linux.it>
To: xen-devel@lists.xen.org
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
Juergen Gross <juergen.gross@ts.fujitsu.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: [PATCH 1 of 2 v2] libxl: propagete down the error from libxl_domain_sched_params_set
Date: Thu, 07 Jun 2012 15:42:32 +0200 [thread overview]
Message-ID: <93ff3e5ecdee68b4f949.1339076552@Solace> (raw)
In-Reply-To: <patchbomb.1339076551@Solace>
So that the caller (e.g., libxl__build_post() ) knows and can deal with it.
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c
+++ b/tools/libxl/libxl_dom.c
@@ -175,7 +175,8 @@ int libxl__build_post(libxl__gc *gc, uin
char **ents, **hvm_ents;
int i;
- libxl_domain_sched_params_set(CTX, domid, &info->sched_params);
+ if (libxl_domain_sched_params_set(CTX, domid, &info->sched_params))
+ return ERROR_INVAL;
libxl_cpuid_apply_policy(ctx, domid);
if (info->cpuid != NULL)
next prev parent reply other threads:[~2012-06-07 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-07 13:42 [PATCH 0 of 2 v2] Sanity checking of scheduling parameters Dario Faggioli
2012-06-07 13:42 ` Dario Faggioli [this message]
2012-06-07 16:41 ` [PATCH 1 of 2 v2] libxl: propagete down the error from libxl_domain_sched_params_set Ian Jackson
2012-06-08 8:57 ` Dario Faggioli
2012-06-07 13:42 ` [PATCH 2 of 2 v2] xl: check for meaningful combination of sedf config file parameters Dario Faggioli
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=93ff3e5ecdee68b4f949.1339076552@Solace \
--to=raistlin@linux.it \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=juergen.gross@ts.fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.