From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Zhang, Yang Z" <yang.z.zhang@intel.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
"'Ian Campbell (Ian.Campbell@citrix.com)'"
<Ian.Campbell@citrix.com>,
"'Jan Beulich (JBeulich@suse.com)'" <JBeulich@suse.com>
Subject: Re: real physical e820 table for dom0?
Date: Mon, 10 Mar 2014 12:27:02 -0400 [thread overview]
Message-ID: <20140310162702.GG4262@phenom.dumpdata.com> (raw)
In-Reply-To: <A9667DDFB95DB7438FA9D7D576C3D87E0AA10CAF@SHSMSX104.ccr.corp.intel.com>
On Mon, Mar 10, 2014 at 08:22:48AM +0000, Zhang, Yang Z wrote:
> Konrad Rzeszutek Wilk wrote on 2014-03-07:
> > On Fri, Mar 07, 2014 at 01:29:31AM +0000, Zhang, Yang Z wrote:
> >
> > How do you use the dom0_mem_max= argument? And what version of Xen are
> > you using?
> >
>
> I tried it both in Xen and dom0, no help. But adding "dom0_mem=4096M,max:4096M" to xen cmdline helps.
> I am using the latest Xen upstream.
Right. That is how it is suppose to work. What did you have before?
dom0_mem=4G?
That means it will boot with all the memory that Xen sees and balloon down to 4GB.
See http://xenbits.xen.org/docs/unstable/misc/xen-command-line.html
>
> > There was this patch:
> >
> > commit d3db728125c4470a2d061ac10fa7395e18237263
> > Author: Ian Campbell <Ian.Campbell@citrix.com>
> > Date: Wed Dec 14 12:16:08 2011 +0000
> >
> > xen: only limit memory map to maximum reservation for domain 0.
> >
> > d312ae878b6a "xen: use maximum reservation to limit amount of usable
> > RAM" clamped the total amount of RAM to the current maximum
> > reservation. This is correct for dom0 but is not correct for guest
> > domains. In order to
> > boot a guest
> >
> > Perhaps you don't have it in the hypervisor?
>
> Hypervisor? I find the patch in dom0.
In the commit it says: d312ae878b6a "xen: use maximum reservation to limit amount of usable.."
That is the hypervisor one.
>
> Best regards,
> Yang
>
next prev parent reply other threads:[~2014-03-10 16:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 8:45 real physical e820 table for dom0? Zhang, Yang Z
2014-03-06 10:19 ` Gordan Bobic
2014-03-06 18:45 ` Konrad Rzeszutek Wilk
2014-03-07 1:29 ` Zhang, Yang Z
2014-03-07 13:56 ` Konrad Rzeszutek Wilk
2014-03-10 8:22 ` Zhang, Yang Z
2014-03-10 16:27 ` Konrad Rzeszutek Wilk [this message]
2014-03-10 16:39 ` Jan Beulich
2014-03-10 18:37 ` Konrad Rzeszutek Wilk
2014-03-11 10:28 ` David Vrabel
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=20140310162702.GG4262@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xenproject.org \
--cc=yang.z.zhang@intel.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).