aliguori b6f6e3d3a7 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>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7163 c046a42c-6fe2-441c-8c8c-71466251a162
2009-04-17 18:59:56 +00:00
..
2008-12-30 19:01:19 +00:00
2009-04-08 22:56:26 +00:00
2009-04-09 17:30:32 +00:00
2009-03-05 23:01:23 +00:00
2009-04-09 17:15:18 +00:00
2009-04-10 00:26:15 +00:00
2008-06-13 10:48:22 +00:00
2009-02-06 00:49:42 +00:00
2008-04-08 06:01:02 +00:00
2009-03-10 21:43:35 +00:00
2008-12-13 09:32:43 +00:00
2009-01-18 12:16:26 +00:00
2009-04-10 00:26:15 +00:00
2008-04-11 04:55:07 +00:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2009-01-14 14:47:56 +00:00
2009-03-05 23:01:23 +00:00
2008-03-21 18:05:23 +00:00
2009-03-28 16:17:50 +00:00
2009-02-06 00:15:19 +00:00
2004-11-07 18:04:02 +00:00
2009-04-10 02:24:36 +00:00
2009-01-16 21:38:58 +00:00
2009-01-16 21:38:58 +00:00
2009-04-17 17:10:59 +00:00
2007-11-17 17:14:51 +00:00
2008-10-31 17:25:56 +00:00
2009-03-04 07:20:40 +00:00
2009-02-07 10:48:26 +00:00
2009-04-10 02:19:52 +00:00
2008-12-13 09:32:43 +00:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2007-11-17 17:14:51 +00:00
2009-04-15 14:57:54 +00:00
2009-01-20 04:15:47 +00:00
2009-03-07 21:48:00 +00:00
2009-04-10 14:29:45 +00:00
2009-04-10 14:29:45 +00:00
2009-04-10 02:24:36 +00:00
2009-01-08 18:52:52 +00:00
2009-03-13 16:27:31 +00:00
2009-04-10 02:24:36 +00:00
2009-03-05 23:01:23 +00:00
2008-12-03 22:48:44 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2008-12-13 09:32:43 +00:00
2009-04-11 17:41:32 +00:00
2009-04-10 14:29:45 +00:00
2009-04-10 14:29:45 +00:00
2008-12-13 09:32:43 +00:00
2009-03-31 17:18:10 +00:00
2009-04-11 17:01:42 +00:00
2009-04-10 21:26:55 +00:00
2008-04-14 21:05:22 +00:00
2009-02-07 15:18:47 +00:00
2009-04-09 17:48:30 +00:00
2009-04-10 00:26:15 +00:00
2008-12-13 09:32:43 +00:00
2009-04-10 14:29:45 +00:00
2007-11-17 17:14:51 +00:00
2008-12-13 09:32:43 +00:00
2009-04-10 00:26:15 +00:00
2009-04-11 16:55:44 +00:00
2009-03-07 20:53:18 +00:00
2009-03-05 23:01:23 +00:00
2009-04-09 17:15:18 +00:00
2009-04-17 14:26:41 +00:00
2008-12-04 20:33:06 +00:00
2009-04-10 02:24:36 +00:00
2009-04-09 17:48:30 +00:00