Skip to content

pc: Support configuration of SMBIOS entry point type

Eduardo Habkost qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 10 repliesIn review
  2. v23 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* Renamed option to "smbios-entry-point-type" for clarity
* Renamed option values to "32" and "64", for two reasons:
* The option is not about reporting an exact SMBIOS version, but just the entry point format.
FWIW, the SMBIOS specification uses the phrases "32-bit entry point" and "64-bit entry point" more often than "2.1 entry point" and "3.0 entry point".
* QAPI doesn't allow us to use enum member names with dots or underscores

[1] https://lore.kernel.org/qemu-devel/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3smbios: Rename SMBIOS_ENTRY_POINT_* enumshw/arm/virt.c hw/i386/pc_piix.c hw/i386/pc_q35.c +2 more+9 -93 replies
2/3hw/smbios: Use qapi for SmbiosEntryPointTypeinclude/hw/firmware/smbios.h qapi/machine.json+14 -82 replies
3/3hw/i386: expose a "smbios-entry-point-type" PC machine propertyhw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+32 -24 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéMarkus Armbruster
1/3R-b
2/3R-b A-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] pc: Support configuration of SMBIOS entry point type

This includes code previously submitted[1] by Daniel P. Berrangé to add a "smbios-ep" machine property on PC.

SMBIOS 3.0 is necessary to support more than ~720 VCPUs, as a large number of VCPUs can easily hit the table size limit of SMBIOS 2.1 entry points.

Changes from v2:
* Renamed option to "smbios-entry-point-type" for clarity
* Renamed option values to "32" and "64", for two reasons:
* The option is not about reporting an exact SMBIOS version, but just the entry point format.
FWIW, the SMBIOS specification uses the phrases "32-bit entry point" and "64-bit entry point" more often than "2.1 entry point" and "3.0 entry point".
* QAPI doesn't allow us to use enum member names with dots or underscores

[1] https://lore.kernel.org/qemu-devel/[email protected]

    https://lore.kernel.org/qemu-devel/[email protected]

Eduardo Habkost (3):
smbios: Rename SMBIOS_ENTRY_POINT_* enums
hw/smbios: Use qapi for SmbiosEntryPointType
hw/i386: expose a "smbios-entry-point-type" PC machine property

 include/hw/firmware/smbios.h | 10 ++--------
 include/hw/i386/pc.h         |  4 ++++
 hw/arm/virt.c                |  2 +-
 hw/i386/pc.c                 | 26 ++++++++++++++++++++++++++
 hw/i386/pc_piix.c            |  2 +-
 hw/i386/pc_q35.c             |  2 +-
 hw/smbios/smbios.c           |  8 ++++----
 qapi/machine.json            | 12 ++++++++++++
 8 files changed, 51 insertions(+), 15 deletions(-)
Signature · 1 line
2.32.0