All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v14] claim and its friends for allocating multiple self-ballooning guests.
@ 2013-03-29 20:24 Konrad Rzeszutek Wilk
  2013-03-29 20:24 ` [PATCH 1/3] xc: use XENMEM_claim_pages hypercall during guest creation Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-03-29 20:24 UTC (permalink / raw)
  To: xen-devel, ian.campbell, ian.jackson, dan.magenheimer,
	George.Dunlap

Changes since v13:
 - Addressed Ian Jacksons' comments - added extra docs, redid the parsing
   of claim_mode.
 - s/global_claim_mode/claim_mode/
 - Dropped xend patch
 - Dropped 'outstanding_pages' patches for libxc and libxl.
Changes since v12:
 - Addressed Ian Campbells' comments.

The patch (mmu: Introduce XENMEM_claim_pages (subop of memory ops) is already
in the hypervisor and described in details the problem/solution/alternative
solutions. This builds upon that new hypercall to expand the toolstack to
utilize it.

The patches follow the normal code-flow - the patch to implement the two 
hypercalls: XENMEM_claim_pages and XENMEM_get_outstanding_pages.

Then the patches to utilize them in the libxc. The hypercall's are only utilized
if the toolstack (libxl) sets the claim_mode to 1 (true).

Then the toolstack (libxl + xl) patches. They revolve around two different 
changes:
 1). Add 'claim_mode=0|1' global configuration value that determines
     whether the claim hypercall should be used as part of guest creation.
 2). As part of  'xl info' output how many pages are claimed by different guests.
     This is more of a diagnostic patch.

These patches are also visible at:

  git://xenbits.xen.org/people/konradwilk/xen.git claim.v14


 docs/man/xl.conf.pod.5         | 41 +++++++++++++++++++++++++++++++++++++++++
 docs/man/xl.pod.1              | 13 +++++++++++++
 tools/examples/xl.conf         |  6 ++++++
 tools/libxc/xc_dom.h           |  1 +
 tools/libxc/xc_dom_x86.c       | 12 ++++++++++++
 tools/libxc/xc_domain.c        | 30 ++++++++++++++++++++++++++++++
 tools/libxc/xc_hvm_build_x86.c | 23 +++++++++++++++++++----
 tools/libxc/xenctrl.h          |  6 ++++++
 tools/libxc/xenguest.h         |  2 ++
 tools/libxl/libxl.c            | 13 +++++++++++++
 tools/libxl/libxl.h            |  2 +-
 tools/libxl/libxl_create.c     |  2 ++
 tools/libxl/libxl_dom.c        |  3 ++-
 tools/libxl/libxl_types.idl    |  2 +-
 tools/libxl/xl.c               |  5 +++++
 tools/libxl/xl.h               |  1 +
 tools/libxl/xl_cmdimpl.c       | 26 ++++++++++++++++++++++++++
 17 files changed, 181 insertions(+), 7 deletions(-)


Dan Magenheimer (1):
      xc: use XENMEM_claim_pages hypercall during guest creation.

Konrad Rzeszutek Wilk (2):
      xl: Implement XENMEM_claim_pages support via 'claim_mode' global config
      xl: 'xl info' print outstanding claims if enabled (claim_mode=1 in xl.conf)

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

end of thread, other threads:[~2013-04-10 15:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 20:24 [PATCH v14] claim and its friends for allocating multiple self-ballooning guests Konrad Rzeszutek Wilk
2013-03-29 20:24 ` [PATCH 1/3] xc: use XENMEM_claim_pages hypercall during guest creation Konrad Rzeszutek Wilk
2013-03-29 20:24 ` [PATCH 2/3] xl: Implement XENMEM_claim_pages support via 'claim_mode' global config Konrad Rzeszutek Wilk
2013-03-29 20:25 ` [PATCH 3/3] xl: 'xl info' print outstanding claims if enabled (claim_mode=1 in xl.conf) Konrad Rzeszutek Wilk
2013-04-08 16:41   ` Ian Jackson
2013-04-08 18:16     ` Konrad Rzeszutek Wilk
2013-04-10 15:48       ` Ian Jackson

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.