From: Ryan Harper <ryanh@us.ibm.com>
To: Derek <lists@stuntkiwi.com>
Cc: Andrew Cathrow <acathrow@redhat.com>, kvm@vger.kernel.org
Subject: Re: DMI BIOS String
Date: Mon, 22 Aug 2011 15:03:51 -0500 [thread overview]
Message-ID: <20110822200351.GY5792@us.ibm.com> (raw)
In-Reply-To: <36364596.872670.1314014107101.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
* Andrew Cathrow <acathrow@redhat.com> [2011-08-22 06:55]:
>
>
> ----- Original Message -----
> > From: "Derek" <lists@stuntkiwi.com>
> > To: kvm@vger.kernel.org
> > Sent: Sunday, August 21, 2011 11:52:19 PM
> > Subject: DMI BIOS String
> > Hi Folks,
> >
> > I could not track down any solid info on modifying the DMI BIOS
> > string.
>
> qemu-kvm -help | grep bios
>
> -smbios file=binary
for binary mode, this commit message is most helpful
commit b6f6e3d3a71cee61320216a42940cfaa9b42a162
Author: aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Fri Apr 17 18:59:56 2009 +0000
qemu: Add support for SMBIOS command line otions (Alex Williamson)
Create a new -smbios option (x86-only) to allow binary SMBIOS entries
to be passed through to the BIOS or modify the default values of
individual fields of type 0 and 1 entries on the command line.
Binary SMBIOS entries can be generated as follows:
dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | \
perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin
These can then be passed to the BIOS using this switch:
-smbios file=smbios_type_1.bin
Command line generation supports the following syntax:
-smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]
-smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]
[,uuid=$(uuidgen)][,sku=str][,family=str]
For instance, to add a serial number to the type 1 table:
-smbios type=1,serial=0123456789
Interface is extensible to support more fields/tables as needed.
aliguori: remove texi formatting from help output
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
> -smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]
> -smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]
>
> or if you're using libvirt
> http://libvirt.org/formatdomain.html#elementsSysinfo
>
>
> >
> > For example, in VirtualBox you can use 'vboxmanage setsextradata' to
> > set the BIOS product and vendor string per VM.
> >
> > Any ideas if this is possible with KVM?
> >
> > Thanks,
> > Derek--
> > To unsubscribe from this list: send the line "unsubscribe kvm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com
next prev parent reply other threads:[~2011-08-22 20:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 3:52 DMI BIOS String Derek
2011-08-22 9:45 ` Daniel P. Berrange
2011-08-22 11:55 ` Andrew Cathrow
2011-08-22 20:03 ` Ryan Harper [this message]
2011-08-22 23:55 ` Derek
2011-08-23 4:30 ` Derek
2011-08-23 6:45 ` Philipp Hahn
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=20110822200351.GY5792@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=acathrow@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lists@stuntkiwi.com \
/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.