From: Wei Liu <wei.liu2@citrix.com>
To: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>,
Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 1/4] libxl: bump LIBXL_MAXMEM_CONSTANT to 2048
Date: Tue, 29 Oct 2013 12:24:21 +0000 [thread overview]
Message-ID: <20131029122421.GF5221@zion.uk.xensource.com> (raw)
In-Reply-To: <20131029121513.GE5221@zion.uk.xensource.com>
On Tue, Oct 29, 2013 at 12:15:13PM +0000, Wei Liu wrote:
> On Tue, Oct 29, 2013 at 12:03:25PM +0000, George Dunlap wrote:
> > On Tue, Oct 15, 2013 at 5:40 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> > > When using OVMF we need to have 1MiB of memory in place for firmware.
> > > Without this change we have:
> > >
> > > (XEN) HVM128: Loading OVMF ...
> > > (XEN) page_alloc.c:1460:d128 Over-allocation for domain 128: 33025 > 33024
> > > (XEN) memory.c:132:d128 Could not allocate order=0 extent: id=128 memflags=0 (0 of 1)
> > >
> > > This is not a fatal error as hvmloader will instead use low memory to
> > > load OVMF, but it's better to eliminate such error.
> >
> > Wait -- hvmloader is actually allocating memory from Xen to load
> > firmware stuff like this?
> >
> > That seems a bit weird... shouldn't it just use the memory it already
> > has, instead of asking for more?
> >
>
> See hvmloader/util.c:mem_hole_populate_ram(). It's used in building ACPI
> info area and allocating ram to load OVMF firmware volume.
>
> Are you suggesting we change the behavior of hvmloader?
>
I think this boils down to the question whether firmware should be
considered extra overhead, like shadow ram.
Wei.
> Wei.
>
> > -George
next prev parent reply other threads:[~2013-10-29 12:24 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-15 16:40 [PATCH 0/4] Reintroduce OVMF support Wei Liu
2013-10-15 16:40 ` [PATCH 1/4] libxl: bump LIBXL_MAXMEM_CONSTANT to 2048 Wei Liu
2013-10-29 12:03 ` George Dunlap
2013-10-29 12:15 ` Wei Liu
2013-10-29 12:24 ` Wei Liu [this message]
2013-10-29 12:29 ` George Dunlap
2013-10-29 12:35 ` Wei Liu
2013-10-15 16:40 ` [PATCH 2/4] tools: clone ovmf to ovmf-dir directory Wei Liu
2013-10-16 9:58 ` Jan Beulich
2013-10-16 12:34 ` Wei Liu
2013-10-15 16:40 ` [PATCH 3/4] tools: support system supplied ovmf binary Wei Liu
2013-10-15 16:40 ` [PATCH 4/4] tools: Enable OVMF build by default Wei Liu
2013-10-16 10:02 ` Jan Beulich
2013-10-16 10:37 ` Ian Campbell
2013-10-16 11:38 ` Wei Liu
2013-10-16 12:53 ` Ian Campbell
2013-10-16 13:00 ` Wei Liu
2013-10-16 10:03 ` [PATCH 0/4] Reintroduce OVMF support Fabio Fantoni
2013-10-16 12:51 ` Wei Liu
2013-10-16 14:13 ` Fabio Fantoni
2013-10-16 15:00 ` Wei Liu
2013-10-16 15:17 ` Ian Campbell
2013-10-17 9:13 ` Fabio Fantoni
2013-10-17 9:27 ` Ian Campbell
2013-10-16 12:52 ` David Vrabel
2013-10-16 12:59 ` Ian Campbell
2013-10-16 13:10 ` Wei Liu
2013-10-28 10:53 ` Fabio Fantoni
2013-10-28 11:32 ` Wei Liu
2013-10-28 12:10 ` Wei Liu
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=20131029122421.GF5221@zion.uk.xensource.com \
--to=wei.liu2@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/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).