From: Gleb Natapov <gleb@redhat.com>
To: Kevin O'Connor <kevin@koconnor.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH] QEMU e820 reservation patch
Date: Mon, 22 Feb 2010 10:33:12 +0200 [thread overview]
Message-ID: <20100222083312.GQ14767@redhat.com> (raw)
In-Reply-To: <20100221191351.GA30303@morn.localdomain>
On Sun, Feb 21, 2010 at 02:13:51PM -0500, Kevin O'Connor wrote:
> On Sun, Feb 21, 2010 at 06:44:55PM +0100, Jes Sorensen wrote:
> > On 02/19/10 22:02, Anthony Liguori wrote:
> > >I noticed that you use this for the TSS page with EPT but you don't use
> > >this interface for the rest of memory. I'm curious what you think the
> > >right long term split is? If QEMU is not managing the full e820 table,
> > >can we reasonable add entries on our own?
> >
> > I'd like to have QEMU handle more, I picked the TSS page because we
> > changed the location of that in the past and it was the one that
> > triggered my patch in the first place. Now we have the infrastructure,
> > it will be easier to add more.
>
> What parts of the memory map do you envision qemu managing?
>
> On qemu, SeaBIOS manages the map for ram under 1M, creates the map for
> high-memory based on the max memory sizes located in cmos, and it
> manages reserved entries for the acpi/smbios tables. (It also adds an
> entry for the rom (the last 256K of the 4gig space), which, BTW, would
> be nice to include in your patch.)
>
> Interestingly, on coreboot, SeaBIOS reads the memory map from coreboot
> and calculates the max memory sizes (the opposite of what it does on
> qemu). Also, it's coreboot that generates the bios tables - SeaBIOS
> uses the passed in memory map to locate the tables and copy the
> required parts into the f-segment.
>
> Are you thinking of moving qemu more torwards what coreboot does, or
> did you have a different idea in mind?
>
We shouldn't compare coreboot with qemu. Qemu is a hardware. Coreboot
is part of a firmware.
--
Gleb.
next prev parent reply other threads:[~2010-02-22 8:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-15 17:33 [Qemu-devel] [PATCH] QEMU e820 reservation patch Jes Sorensen
2010-02-15 18:54 ` [Qemu-devel] " Stefano Stabellini
2010-02-16 8:49 ` Jes Sorensen
2010-02-19 21:02 ` [Qemu-devel] " Anthony Liguori
2010-02-21 17:44 ` Jes Sorensen
2010-02-21 19:13 ` Kevin O'Connor
2010-02-22 8:33 ` Gleb Natapov [this message]
2010-02-23 1:31 ` Kevin O'Connor
2010-02-23 8:22 ` Gleb Natapov
2010-02-23 13:50 ` Anthony Liguori
2010-02-23 14:01 ` Gleb Natapov
2010-02-22 9:23 ` Avi Kivity
2010-02-19 22:00 ` Anthony Liguori
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=20100222083312.GQ14767@redhat.com \
--to=gleb@redhat.com \
--cc=Jes.Sorensen@redhat.com \
--cc=kevin@koconnor.net \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.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).