From: Anthony Liguori <aliguori@us.ibm.com>
To: Alex Williamson <alex.williamson@hp.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, kvm <kvm@vger.kernel.org>
Subject: Re: [PATCH 1/2] qemu: Allow SMBIOS entries to be loaded and provided to the VM BIOS
Date: Mon, 06 Apr 2009 17:42:19 -0500 [thread overview]
Message-ID: <49DA854B.4000905@us.ibm.com> (raw)
In-Reply-To: <1239057273.4726.76.camel@lappy>
Alex Williamson wrote:
> Hi Anthony,
>
> On Mon, 2009-04-06 at 14:50 -0500, Anthony Liguori wrote:
>
>> Alex Williamson wrote:
>>
>> I know we have to support blobs because of OEM specific smbios entries,
>> but there are a number of common ones that it would probably be good to
>> specify in a less user-unfriendly way. What do you think?
>>
>
> Yeah, I'll admit this is a pretty unfriendly interface. I get from your
> comment on the other part of the patch that you'd prefer not to get into
> the mess of having both binary blobs and command line switches
> augmenting the blobs. This seems reasonable, but also means that we
> need a way to fully define the tables we generate from the command line.
> For a type 0 entry, that might mean the following set of switches:
>
> -bios-version, -bios-date, -bios-characteristics, -bios-release
>
You could go one level higher:
-smbios type=0,bios-version='1.0',bios-date='2009/10/20' etc.
> I'm sure I'm missing some, plus we might want to allow the memory and
> processor entries to have some fields changed. Do we want to add that
> many switches and means to access them from the rombios?
>
I think it's okay to start with some of the more common tables and
provide the parsing in QEMU. We could then introduce humanize more
tables down the road as people saw fit.
At the end of the day, I'm most interested in the tables that are going
to be frequently used by management applications. That is, the tables
that are required for things like SVVP certification should be specified
in a human readable format that QEMU can build reasonable defaults for
and management tools can override.
I'm torn between exposing the tables directly to the firmware or
providing a higher level interface. I really don't like -uuid
overriding a binary blob though so I'd prefer to avoid that. -uuid
should only be respected if using the QEMU generated version of the
SMBIOS table. I'll defer to whatever you think is better what is
exposed in the firmware interface as I can see arguments for both.
--
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-04-06 22:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-23 19:05 [PATCH 0/2] qemu: SMBIOS passing support Alex Williamson
2009-03-23 19:11 ` [PATCH 1/2] qemu: Allow SMBIOS entries to be loaded and provided to the VM BIOS Alex Williamson
2009-04-06 19:50 ` Anthony Liguori
2009-04-06 22:34 ` Alex Williamson
2009-04-06 22:42 ` Anthony Liguori [this message]
2009-04-07 19:34 ` Alex Williamson
2009-04-07 19:49 ` Anthony Liguori
2009-03-23 19:11 ` [PATCH 2/2] qemu:bios: Read external SMBIOS entries from the VM Alex Williamson
2009-04-06 19:52 ` Anthony Liguori
2009-03-30 13:59 ` [PATCH 0/2] qemu: SMBIOS passing support Alex Williamson
2009-03-30 14:05 ` Gleb Natapov
2009-03-30 14:38 ` Daniel P. Berrange
2009-03-30 14:59 ` Avi Kivity
2009-03-30 15:40 ` Alex Williamson
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=49DA854B.4000905@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=alex.williamson@hp.com \
--cc=kvm@vger.kernel.org \
--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).