From: Alex Williamson <alex.williamson@hp.com>
To: qemu-devel@nongnu.org, aliguori@us.ibm.com
Cc: alex.williamson@hp.com, kvm@vger.kernel.org
Subject: [Qemu-devel] [PATCH v2 0/3] qemu: SMBIOS support
Date: Wed, 08 Apr 2009 15:58:40 -0600 [thread overview]
Message-ID: <20090408215733.11530.29919.stgit@kvm.aw> (raw)
This is a new version based on everyone's feedback. I now support
creating type 0 & 1 SMBIOS fields from the command line as well as
loading binary blob entries. It should be pretty trivial to add
support for modifying other generated tables from the command line.
Rather than moving the parsing code to vl.c, I made new smbios.[ch]
files, which seems to clean things up nicely. I've implemented a
collision detector, so you can't pass both a binary blob containing
a type 1 entry and options to modify the entry. Useful error
messages should be generated if this is attempted. I've also
incorporated the -uuid option, so it's handled by the bios the
same as any other modification to an smbios field. Let me know if
there are any further suggestions. Thanks,
Alex
---
Alex Williamson (3):
qemu:bios: Load SMBIOS entries and files from qemu
qemu: Add support for SMBIOS command line otions
qemu: Add prototype and make qemu_uuid_parse() non-static
Makefile.target | 2
bios/rombios32.c | 299 +++++++++++++++++++++++++++++++++++++++++++------------
hw/pc.c | 9 +
hw/smbios.c | 224 +++++++++++++++++++++++++++++++++++++++++
hw/smbios.h | 162 +++++++++++++++++++++++++++++
qemu-options.hx | 21 +++
sysemu.h | 1
vl.c | 13 ++
8 files changed, 666 insertions(+), 65 deletions(-)
create mode 100644 hw/smbios.c
create mode 100644 hw/smbios.h
next reply other threads:[~2009-04-08 22:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 21:58 Alex Williamson [this message]
2009-04-08 21:59 ` [Qemu-devel] [PATCH v2 1/3] qemu: Add prototype and make qemu_uuid_parse() non-static Alex Williamson
2009-04-17 19:01 ` [Qemu-devel] " Anthony Liguori
2009-04-08 21:59 ` [Qemu-devel] [PATCH v2 2/3] qemu: Add support for SMBIOS command line otions Alex Williamson
2009-04-08 22:06 ` [Qemu-devel] [PATCH v2 3/3] qemu:bios: Load SMBIOS entries and files from qemu 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=20090408215733.11530.29919.stgit@kvm.aw \
--to=alex.williamson@hp.com \
--cc=aliguori@us.ibm.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).