From: Laszlo Ersek <lersek@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Anthony Liguori" <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, "Andreas Färber" <afaerber@suse.de>,
"Gerd Hoffmann" <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 repost 8/9] i386: generate pc guest info
Date: Wed, 24 Jul 2013 17:36:58 +0200 [thread overview]
Message-ID: <51EFF49A.3090208@redhat.com> (raw)
In-Reply-To: <51E6B314.8080506@redhat.com>
On 07/17/13 17:07, Laszlo Ersek wrote:
> On 07/10/13 15:51, Michael S. Tsirkin wrote:
>> This fills in guest info table with misc
>> information of interest to the guest.
>> Will be used by ACPI table generation code.
>>
>> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>> ---
>> hw/acpi/ich9.c | 7 ++++++-
>> hw/acpi/piix4.c | 44 +++++++++++++++++++++++++++++++++++++++++++-
>> hw/i386/Makefile.objs | 2 ++
>> hw/i386/pc.c | 41 +++++++++++++++++++++++++++++++++++++++--
>> hw/i386/pc_piix.c | 15 ++++++++++++---
>> hw/i386/pc_q35.c | 10 +++++++---
>> hw/isa/lpc_ich9.c | 11 +++++++++--
>> hw/mips/mips_malta.c | 2 +-
>> hw/misc/pvpanic.c | 12 +++++++-----
>> hw/pci-host/q35.c | 1 +
>> include/hw/acpi/ich9.h | 2 +-
>> include/hw/i386/ich9.h | 3 ++-
>> include/hw/i386/pc.h | 37 ++++++++++++++++++++++++++++++++++---
>> 13 files changed, 164 insertions(+), 23 deletions(-)
>
> So we won't be fishing in a global pool of information at ACPI table
> creation time as I had expected / advertized before. Instead any
> required bits are gradually collected into the guest info structure
> while creating / configuring the machine.
>
> This is likely a better approach; the set of dependencies for all ACPI
> tables together are tracked explicitly in guest info. Also, we don't
> collect the bits from the outside, breaching encapsulation of devices;
> devices publish the bits.
>
> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
If I understand correctly, based on the recent comments you got from
Gerd and Andreas for this series (in the other, non-repost thread),
fishing in the global pool it should be after all, just with a different
fishing rod than what I used in my original patch ("hw/i386: build ACPI
MADT (APIC) for fw_cfg clients").
These U-turns in design have proved that I'm not qualified to review
this work. So I won't; there's no use in my repeated saying "yeah why
not" to both approaches (which are polar opposites). My apologies.
I applaud your perseverance in this matter.
Laszlo
next prev parent reply other threads:[~2013-07-24 15:34 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-10 13:51 [Qemu-devel] [PATCH v2 repost 0/9] qemu: generate acpi tables for the guest Michael S. Tsirkin
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 1/9] hw/i386/pc.c: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/apic.h Michael S. Tsirkin
2013-07-11 16:57 ` Laszlo Ersek
2013-07-15 7:11 ` Hu Tao
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 2/9] i386: add ACPI table files from seabios Michael S. Tsirkin
2013-07-11 16:57 ` Laszlo Ersek
2013-07-15 7:49 ` Hu Tao
2013-07-15 10:14 ` Michael S. Tsirkin
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 3/9] acpi: add rules to compile ASL source Michael S. Tsirkin
2013-07-11 16:55 ` Laszlo Ersek
2013-07-11 16:58 ` Laszlo Ersek
2013-07-11 17:10 ` Michael S. Tsirkin
2013-07-15 8:00 ` Hu Tao
2013-07-15 8:19 ` Michael S. Tsirkin
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 4/9] acpi: pre-compiled ASL files Michael S. Tsirkin
2013-07-11 16:59 ` Laszlo Ersek
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 5/9] i386: add bios linker/loader Michael S. Tsirkin
2013-07-12 14:17 ` Laszlo Ersek
2013-07-14 11:41 ` Michael S. Tsirkin
2013-07-15 7:33 ` Laszlo Ersek
2013-07-15 9:01 ` Michael S. Tsirkin
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 6/9] loader: support for unmapped ROM blobs Michael S. Tsirkin
2013-07-15 13:22 ` Laszlo Ersek
2013-07-15 16:03 ` Michael S. Tsirkin
2013-07-15 18:30 ` Laszlo Ersek
2013-07-17 12:20 ` Laszlo Ersek
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 7/9] loader: allow adding ROMs in done callbacks Michael S. Tsirkin
2013-07-17 12:23 ` Laszlo Ersek
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 8/9] i386: generate pc guest info Michael S. Tsirkin
2013-07-17 15:07 ` Laszlo Ersek
2013-07-24 15:36 ` Laszlo Ersek [this message]
2013-07-24 15:47 ` Michael S. Tsirkin
2013-07-19 3:55 ` Hu Tao
2013-07-10 13:51 ` [Qemu-devel] [PATCH v2 repost 9/9] i386: ACPI table generation code from seabios Michael S. Tsirkin
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=51EFF49A.3090208@redhat.com \
--to=lersek@redhat.com \
--cc=afaerber@suse.de \
--cc=aliguori@us.ibm.com \
--cc=kraxel@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@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).