From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: George.Dunlap@eu.citrix.com, Ian.Jackson@eu.citrix.com,
xen-devel@lists.xensource.com, Ian.Campbell@citrix.com
Subject: [RFC] Make xl vcpu-set work in overcommit and with PV guests. (v2).
Date: Wed, 25 Sep 2013 16:40:15 -0400 [thread overview]
Message-ID: <1380141617-8981-1-git-send-email-konrad.wilk@oracle.com> (raw)
Hey,
In Xen 4.3 the 'xl vcpu-set' would not work for CPU overcommit - meaning
where you request more vCPUs than the host has. We added the --ignore-host
parameter to allow the system admin to still do this operation as a stop-gate
solution.
For Xen 4.4 I had posted two (three?) set of patches that try different
things for this. The discussion narrowed down to (and please correct me if
I am incorrect) to: lets still print the warning but let the operation
go ahead without required the --ignore-host parameter. Since the parameter
is baked in it still has to work but we can just ignore it.
The first patch does that. The second patch is a bug I found where the
'xl vcpuset' would not work on PV guests. I think the same issue is with
Xen 4.3 but I am not sure. The patch #2 fixes that.
The patches are also at:
git://xenbits.xen.org/people/konradwilk/xen.git vcpu.v1.1
The diffstat and log is:
docs/man/xl.pod.1 | 15 ++++++++++++++-
tools/libxl/libxl.c | 28 ++++++++++++++++++++--------
tools/libxl/xl_cmdimpl.c | 28 ++++++++++++----------------
tools/libxl/xl_cmdtable.c | 2 +-
4 files changed, 47 insertions(+), 26 deletions(-)
Konrad Rzeszutek Wilk (2):
xl: neuter vcpu-set --ignore-host.
xl/vcpuset: Make it work for PV guests.
next reply other threads:[~2013-09-25 20:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-25 20:40 Konrad Rzeszutek Wilk [this message]
2013-09-25 20:40 ` [PATCH 1/2] xl: neuter vcpu-set --ignore-host Konrad Rzeszutek Wilk
2013-09-26 7:23 ` Dario Faggioli
2013-09-26 12:45 ` Konrad Rzeszutek Wilk
2013-09-26 9:06 ` Ian Campbell
2013-09-26 12:48 ` Konrad Rzeszutek Wilk
2013-09-26 16:25 ` George Dunlap
2013-09-27 1:44 ` Konrad Rzeszutek Wilk
2013-09-26 15:28 ` Konrad Rzeszutek Wilk
2013-09-26 15:47 ` Ian Campbell
2013-09-26 16:01 ` Andrew Cooper
2013-09-26 16:05 ` Ian Campbell
2013-09-27 1:52 ` Konrad Rzeszutek Wilk
2013-09-27 8:41 ` Ian Campbell
2013-09-30 18:40 ` Konrad Rzeszutek Wilk
2013-09-25 20:40 ` [PATCH 2/2] xl/vcpuset: Make it work for PV guests Konrad Rzeszutek Wilk
2013-09-26 9:10 ` Ian Campbell
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=1380141617-8981-1-git-send-email-konrad.wilk@oracle.com \
--to=konrad.wilk@oracle.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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).