From: "Michael S. Tsirkin" <mst@redhat.com>
To: armbru@redhat.com
Cc: ehabkost@redhat.com, qemu-devel@nongnu.org, aliguori@amazon.com,
pbonzini@redhat.com, lersek@redhat.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH v3 0/2] smbios nicer defaults for DMI type 1 (System)
Date: Mon, 4 Nov 2013 15:40:50 +0200 [thread overview]
Message-ID: <20131104134050.GA28144@redhat.com> (raw)
In-Reply-To: <1383137800-2990-1-git-send-email-armbru@redhat.com>
On Wed, Oct 30, 2013 at 01:56:38PM +0100, armbru@redhat.com wrote:
> From: Markus Armbruster <armbru@redhat.com>
>
> Currently, we get SeaBIOS defaults: manufacturer Bochs, product Bochs,
> no version. Best SeaBIOS can do, but we can provide better defaults:
> manufacturer QEMU, product & version taken from QEMUMachine desc and
> name.
>
> This series used to be called "[PATCH v2 0/7] smbios cleanup & nicer
> defaults for type 1", but its cleanup parts [0-5/7] already went in.
>
> Andreas didn't like "[PATCH v2 6/7] vl: Set current_machine early",
> and suggested to put he machine into QEMUMachineInitArgs. PATCH 1/2
> does exactly that, replacing v2's PATCH 6/7. PATCH 2/2 is v2's PATCH
> 7/7 rebased on top.
>
> Michael didn't like the way I suppress the nicer defaults for old
> machine types via static bool smbios_type1_defaults, and thought it
> would be nicer to have it in QEMUMachine or some device. I considered
> this, but decided to stick to smbios_type1_defaults, because
>
> 1. There is no suitable device.
> 2. I'd rather not extend QEMUMachine with target-specific stuff.
> 3. A static bool whose default value gets flipped by some QEMUMachine
> init() methods is what we commonly do in such cases, so let's stick
> to that.
>
> v3: Do it the way Andreas suggested
> v2: Rebase, only last patch had conflicts
I picked this up merging 2/2 and 3/2.
Unfortunately it';s too late for 1.7 but I'll try to
merge it as soon as 1.8 opens.
> Markus Armbruster (2):
> hw: Pass QEMUMachine to its init() method
> smbios: Set system manufacturer, product & version by default
>
> hw/i386/pc_piix.c | 9 +++++++++
> hw/i386/pc_q35.c | 7 +++++++
> hw/i386/smbios.c | 14 ++++++++++++++
> include/hw/boards.h | 7 +++++--
> include/hw/i386/smbios.h | 2 ++
> vl.c | 3 ++-
> 6 files changed, 39 insertions(+), 3 deletions(-)
>
> --
> 1.8.1.4
prev parent reply other threads:[~2013-11-04 13:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 12:56 [Qemu-devel] [PATCH v3 0/2] smbios nicer defaults for DMI type 1 (System) armbru
2013-10-30 12:56 ` [Qemu-devel] [PATCH v3 1/2] hw: Pass QEMUMachine to its init() method armbru
2013-10-30 13:13 ` Eduardo Habkost
2013-10-30 13:38 ` Andreas Färber
2013-10-31 6:17 ` Michael S. Tsirkin
2013-10-30 12:56 ` [Qemu-devel] [PATCH v3 2/2] smbios: Set system manufacturer, product & version by default armbru
2013-10-30 13:19 ` Eduardo Habkost
2013-10-30 14:18 ` Michael S. Tsirkin
2013-10-30 14:29 ` Eduardo Habkost
2013-10-30 14:48 ` Michael S. Tsirkin
2013-10-30 15:18 ` Markus Armbruster
2013-10-30 19:17 ` Michael S. Tsirkin
2013-10-30 20:22 ` Markus Armbruster
2013-10-30 23:01 ` Michael S. Tsirkin
2013-10-31 5:30 ` Markus Armbruster
2013-10-31 9:00 ` Eduardo Habkost
2013-10-30 14:48 ` Markus Armbruster
2013-10-30 19:12 ` Michael S. Tsirkin
2013-10-31 5:54 ` Markus Armbruster
2013-10-31 6:17 ` Michael S. Tsirkin
2013-10-30 14:20 ` [Qemu-devel] [PATCH v3 0/2] smbios nicer defaults for DMI type 1 (System) Michael S. Tsirkin
2013-10-31 5:51 ` [Qemu-devel] [PATCH v3 3/2] smbios: Decouple system product from QEMUMachine Markus Armbruster
2013-10-31 6:16 ` Michael S. Tsirkin
2013-10-31 8:20 ` Eduardo Habkost
2013-11-04 13:40 ` Michael S. Tsirkin [this message]
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=20131104134050.GA28144@redhat.com \
--to=mst@redhat.com \
--cc=afaerber@suse.de \
--cc=aliguori@amazon.com \
--cc=armbru@redhat.com \
--cc=ehabkost@redhat.com \
--cc=lersek@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.