From: Igor Mammedov <imammedo@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>,
qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Qemu-devel] [RfC PATCH] e820: pass high memory too.
Date: Fri, 11 Oct 2013 16:01:57 +0200 [thread overview]
Message-ID: <20131011160157.2123639d@nial.usersys.redhat.com> (raw)
In-Reply-To: <1381494432.23065.7.camel@nilsson.home.kraxel.org>
On Fri, 11 Oct 2013 14:27:12 +0200
Gerd Hoffmann <kraxel@redhat.com> wrote:
> On Fr, 2013-10-11 at 13:20 +0200, Igor Mammedov wrote:
> > On Thu, 10 Oct 2013 14:54:29 +0200
> > Gerd Hoffmann <kraxel@redhat.com> wrote:
> >
> > > We have a fw_cfg entry to pass e820 entries from qemu to the firmware.
> > > Today it's used to pass reservations only. This patch makes qemu pass
> > > entries for RAM too.
> > >
> > > This allows to pass RAM sizes larger than 1TB to the firmware and it
> > > will also allow to pass non-contignous memory ramges should we decide
> > > to implement that some day, say for our virtual numa nodes.
> > >
> > > Obviously this needs some extra care to not break existing firware.
> > >
> > > SeaBIOS loads the entries and happily adds them without looking at the
> > > type. Which is problematic for memory below 4g as this will overwrite
> > > reservations added for bios memory etc. For memory above 4g it works
> > > just fine, seabios will merge the entry derived from cmos with the one
> > > loaded from fw_cfg.
> > It will make amount of available memory in e820 table more than described
> > in smbios and could break MS's SMBIOS HCT test.
>
> Happens only in case the installed amount of memory is larger than 1TB
> (which is the maximum the cmos can describe). Such a setup doesn't work
> correctly without the patch anyway, so it isn't a regression IMHO. And
> with an additional patch on the seabios side we can fix the smbios info
> even for the >1TB case.
True, and it looks better then adding extra CMOS ports.
BTW: what about OVMF and core boot, how would they know that there is more
then 1Tb RAM?
>
> > Perhaps related smbios info
> > also should be picked up from QEMU.
>
> Worth investigating, but lets concentrate on the acpi table merge first.
>
> cheers,
> Gerd
>
>
next prev parent reply other threads:[~2013-10-11 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-10 12:54 [Qemu-devel] [RfC PATCH] e820: pass high memory too Gerd Hoffmann
2013-10-11 11:20 ` Igor Mammedov
2013-10-11 12:27 ` Gerd Hoffmann
2013-10-11 14:01 ` Igor Mammedov [this message]
2013-10-11 16:21 ` Gerd Hoffmann
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=20131011160157.2123639d@nial.usersys.redhat.com \
--to=imammedo@redhat.com \
--cc=aarcange@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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).