xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Ian Campbell <ian.campbell@citrix.com>,
	xen-devel@lists.xensource.com, ian.jackson@eu.citrix.com,
	stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com,
	oger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH 0/5] libxc: support building large pv-domains
Date: Fri, 11 Sep 2015 16:01:37 +0200	[thread overview]
Message-ID: <55F2DEC1.3080308@suse.com> (raw)
In-Reply-To: <1441979594.3549.35.camel@citrix.com>

On 09/11/2015 03:53 PM, Ian Campbell wrote:
> On Fri, 2015-09-11 at 15:42 +0200, Juergen Gross wrote:
>> On 09/11/2015 03:28 PM, Ian Campbell wrote:
>>> On Fri, 2015-09-11 at 14:32 +0200, Juergen Gross wrote:
>>>> 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
>>>> ++++++++++++++++++++++++++++++++++++++++-
>>>
>>> How much is this going to conflict with Roger's "Introduce HVM without
>>> dm
>>> and new boot ABI" changes to HVM building?
>>
>> As it is touching the pv domain builder only, I don't think there will
>> be a conflict.
>
> The reason I asked is that the first thing Roger's series does is cause HVM
> domains to be built using the PV domain builder...

Aah, okay.

OTOH I'm doing nothing different than the hypervisor when loading dom0.
As long as the ELFNOTEs in question (or the corresponding elements in
dom->parms) are not set, the resulting domain image should be the same
as today.

>>   All rights of being wrong reserved. :-)
>
> Warranty void to the limit of your statutory rights ;-)

Ha, good intuition! The disclaimer wasn't a bad idea at the end. ;-)


Juergen

  reply	other threads:[~2015-09-11 14:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-09-25 15:40         ` Ian Campbell
2015-09-22 12:12 ` Juergen Gross

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=55F2DEC1.3080308@suse.com \
    --to=jgross@suse.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@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).