xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] libxc: support building large pv-domains
@ 2015-09-11 12:32 Juergen Gross
  2015-09-11 12:32 ` [PATCH 1/5] libxc: remove allocate member from struct xc_dom_image Juergen Gross
                   ` (6 more replies)
  0 siblings, 7 replies; 29+ messages in thread
From: Juergen Gross @ 2015-09-11 12:32 UTC (permalink / raw)
  To: xen-devel, Ian.Campbell, ian.jackson, stefano.stabellini,
	wei.liu2
  Cc: Juergen Gross

The Xen hypervisor supports starting a dom0 with large memory (up to
the TB range) by not including the initrd and p2m list in the initial
kernel mapping. Especially the p2m list can grow larger than the
available virtual space in the initial mapping.

The started kernel is indicating the support of each feature via
elf notes.

This series enables the domain builder in libxc to do the same as the
hypervisor. This enables starting of huge pv-domUs via xl.

Unmapped initrd is supported for 64 and 32 bit domains, omitting the
p2m from initial kernel mapping is possible for 64 bit domains only.

Tested with:
- 32 bit domU (kernel not supporting unmapped initrd)
- 32 bit domU (kernel supporting unmapped initrd)
- 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m)
- 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m)
- 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)

Juergen Gross (5):
  libxc: remove allocate member from struct xc_dom_image
  libxc: do initrd processing of domain builder in own function
  libxc: create unmapped initrd in domain builder if supported
  libxc: split p2m allocation in domain builder from other magic pages
  libxc: create p2m list outside of kernel mapping if supported

 tools/libxc/include/xc_dom.h |   4 +-
 tools/libxc/xc_dom_core.c    | 123 +++++++++++++++++++++++++++++--------------
 tools/libxc/xc_dom_x86.c     | 120 ++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 204 insertions(+), 43 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-10-02  9:28 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 12:32 [PATCH 0/5] libxc: support building large pv-domains Juergen Gross
2015-09-11 12:32 ` [PATCH 1/5] libxc: remove allocate member from struct xc_dom_image Juergen Gross
2015-09-11 12:44   ` Ian Jackson
2015-09-25 15:39     ` Ian Campbell
2015-09-28  3:55       ` Juergen Gross
2015-09-28  9:33         ` Ian Campbell
2015-09-11 12:32 ` [PATCH 2/5] libxc: do initrd processing of domain builder in own function Juergen Gross
2015-09-11 12:45   ` Ian Jackson
2015-09-25 15:39     ` Ian Campbell
2015-09-11 12:32 ` [PATCH 3/5] libxc: create unmapped initrd in domain builder if supported Juergen Gross
2015-09-11 12:54   ` Ian Jackson
2015-09-11 13:15     ` Julien Grall
2015-09-11 13:39       ` Juergen Gross
2015-09-25 15:22         ` Ian Campbell
2015-09-11 13:32     ` Juergen Gross
2015-09-11 15:51       ` Ian Jackson
2015-09-11 12:32 ` [PATCH 4/5] libxc: split p2m allocation in domain builder from other magic pages Juergen Gross
2015-10-01 12:47   ` Ian Campbell
2015-10-02  3:55     ` Juergen Gross
2015-10-02  9:04       ` Ian Campbell
2015-10-02  9:14         ` Juergen Gross
2015-10-02  9:28           ` Ian Campbell
2015-09-11 12:32 ` [PATCH 5/5] libxc: create p2m list outside of kernel mapping if supported Juergen Gross
2015-09-11 13:28 ` [PATCH 0/5] libxc: support building large pv-domains Ian Campbell
2015-09-11 13:42   ` Juergen Gross
2015-09-11 13:53     ` Ian Campbell
2015-09-11 14:01       ` Juergen Gross
2015-09-25 15:40         ` Ian Campbell
2015-09-22 12:12 ` Juergen Gross

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