qemu/pc-bios/bios-pq
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
..
0001_bx-qemu.patch Update to the latest Bochs BIOS 2008-12-17 21:35:49 +00:00
0002_kvm-bios-update-smbios-table-to-report-memory-above-4g.patch Update PC BIOS to latest bits from Bochs 2009-02-11 14:55:47 +00:00
0003_kvm-bios-generate-mptable-unconditionally.patch Add BIOS fixes from KVM tree 2009-01-21 21:46:20 +00:00
0004_kvm-bios-resolve-memory-device-roll-over-reporting--issues-with-32g-guests.patch Update PC BIOS to latest bits from Bochs 2009-02-11 14:55:47 +00:00
0005_kvm-bios-fix-smbios-memory-device-length-boundary--condition.patch Update PC BIOS to latest bits from Bochs 2009-02-11 14:55:47 +00:00
0006_qemu-bios-use-preprocessor-for-pci-link-routing.patch Add BIOS patches necessary for hotplug (Marcelo Tosatti) 2009-02-11 15:11:43 +00:00
0007_bios-add-26-pci-slots,-bringing-the-total-to-32.patch Add BIOS patches necessary for hotplug (Marcelo Tosatti) 2009-02-11 15:11:43 +00:00
0008_qemu-bios-provide-gpe-_l0x-methods.patch Add BIOS patches necessary for hotplug (Marcelo Tosatti) 2009-02-11 15:11:43 +00:00
0009_qemu-bios-pci-hotplug-support.patch Add BIOS patches necessary for hotplug (Marcelo Tosatti) 2009-02-11 15:11:43 +00:00
0010_bios-mark-the-acpi-sci-interrupt-as-connected-to-irq-9.patch Add BIOS patches necessary for hotplug (Marcelo Tosatti) 2009-02-11 15:11:43 +00:00
0011_read-additional-acpi-tables-from-a-vm.patch Make PCI config status register read-only 2009-04-10 20:48:17 +00:00
0012-load-smbios-entries-and-files-from-qemu.patch qemu: Add support for SMBIOS command line otions (Alex Williamson) 2009-04-17 18:59:56 +00:00
HEAD Update PC BIOS to latest bits from Bochs 2009-02-11 14:55:47 +00:00
series qemu: Add support for SMBIOS command line otions (Alex Williamson) 2009-04-17 18:59:56 +00:00