xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Make xl vcpu-set work in overcommit and with PV guests. (v2).
@ 2013-09-25 20:40 Konrad Rzeszutek Wilk
  2013-09-25 20:40 ` [PATCH 1/2] xl: neuter vcpu-set --ignore-host Konrad Rzeszutek Wilk
  2013-09-25 20:40 ` [PATCH 2/2] xl/vcpuset: Make it work for PV guests Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 17+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-09-25 20:40 UTC (permalink / raw)
  To: George.Dunlap, Ian.Jackson, xen-devel, Ian.Campbell

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.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-09-30 18:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 20:40 [RFC] Make xl vcpu-set work in overcommit and with PV guests. (v2) Konrad Rzeszutek Wilk
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

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).