qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin O'Connor <kevin@koconnor.net>
To: "Michael S. Tsirkin" <mst@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>
Cc: seabios@seabios.org, qemu-devel@nongnu.org,
	Gleb Natapov <gleb@redhat.com>
Subject: Re: [Qemu-devel] [PATCH RFC 0/3] seabios: move acpi table formatting out of bios
Date: Wed, 8 May 2013 18:55:22 -0400	[thread overview]
Message-ID: <20130508225522.GA7413@morn.localdomain> (raw)
In-Reply-To: <20130508123546.GA24243@redhat.com>

On Wed, May 08, 2013 at 03:35:46PM +0300, Michael S. Tsirkin wrote:
> On Wed, May 08, 2013 at 02:35:44PM +0300, Gleb Natapov wrote:
> > On Wed, May 08, 2013 at 02:07:24PM +0300, Michael S. Tsirkin wrote:
> > > On Wed, May 08, 2013 at 01:59:12PM +0300, Gleb Natapov wrote:
> > > > Where this notion that fw_cfg is only for a small things is coming
> > > > from? I can assure you this was not the case when the device was
> > > > introduced. In fact it is used today for not so small things like
> > > > bootindex splash screen bitmaps, option rom loading and kernel/initrd
> > > > loading. Some of those are bigger then ACPI tables will ever be.
> > > > And they all should be migrated, so fw_cfg should be fixed anyway.
> > > 
> > > I'm not arguing with that. Convince Anthony please.
> > > 
> > Convince him in what? That fw_cfg is broken vrt migration and there are
> > cases that will fail _today_ without any ACPI related changes? This is
> > knows for ages.
> 
> That we should use fw_cfg to load acpi tables.

I'm confused.

ACPI tables are not large.  At most we're talking about 100K of data
total.

I don't see what migration has to do with using fw_cfg to pass acpi
tables - the content is only read at startup.  There may be an issue
for the corner case of VM restarts, but if so it's nothing new.  If
the content of a fw_cfg entry changes during a guest reboot it is
going to have the same impact regardless of whether it's the
"irq0-override" entry / "numa-nodes" entry - or if it's the "madt"
entry / "srat" entry, etc.  So, I don't see how fw_cfg would suddenly
not be suitable.

Again, I recommend that ACPI (and mptable, smbios, pir) be generated
in qemu and that the content be passed to SeaBIOS using one fw_cfg
"file" per table.

-Kevin

  parent reply	other threads:[~2013-05-08 22:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  9:02 [Qemu-devel] [PATCH RFC 0/3] seabios: move acpi table formatting out of bios Michael S. Tsirkin
2013-04-25  9:02 ` [Qemu-devel] [PATCH RFC 1/3] linker: utility to patch in-memory ROM files Michael S. Tsirkin
2013-04-25  9:02 ` [Qemu-devel] [PATCH RFC 2/3] acpi: load and link tables from /etc/acpi/ Michael S. Tsirkin
2013-04-29 11:41   ` Laszlo Ersek
2013-04-29 13:25     ` Michael S. Tsirkin
2013-04-25  9:02 ` [Qemu-devel] [PATCH RFC 3/3] acpi: add an option to disable builtin tables Michael S. Tsirkin
2013-04-25 18:19 ` [Qemu-devel] [SeaBIOS] [PATCH RFC 0/3] seabios: move acpi table formatting out of bios Fred .
2013-04-25 21:11   ` Michael S. Tsirkin
2013-04-25 22:39     ` Kevin O'Connor
2013-05-07 18:00 ` [Qemu-devel] " Michael S. Tsirkin
2013-05-07 23:01   ` Kevin O'Connor
2013-05-08  9:31     ` Gleb Natapov
2013-05-08 10:29       ` Michael S. Tsirkin
2013-05-08 10:34         ` Gleb Natapov
2013-05-08 10:43           ` Michael S. Tsirkin
2013-05-08 10:59             ` Gleb Natapov
2013-05-08 11:07               ` Michael S. Tsirkin
2013-05-08 11:35                 ` Gleb Natapov
2013-05-08 12:35                   ` Michael S. Tsirkin
2013-05-08 12:41                     ` Gleb Natapov
2013-05-08 22:55                     ` Kevin O'Connor [this message]
2013-05-09  5:42                       ` Gleb Natapov
2013-05-08 18:15     ` Michael S. Tsirkin
2013-05-09  5:24       ` Gleb Natapov

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=20130508225522.GA7413@morn.localdomain \
    --to=kevin@koconnor.net \
    --cc=aliguori@us.ibm.com \
    --cc=gleb@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.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).