SMBIOS support for RISC-V virt machine
Generate SMBIOS tables for the RISC-V mach-virt. Add CONFIG_SMBIOS=y to the RISC-V default config.
With the series the following firmware tables are provided:
etc/smbios/smbios-anchor
etc/smbios/smbios-tables
Add processor-family to the '-smbios type=4' command line options.
Heinrich Schuchardt (4):
smbios: add processor-family option
smbios: function to set default processor family
target/riscv: SMBIOS support for RISC-V virt machine
qemu-options: enable -smbios option on RISC-V
hw/riscv/Kconfig | 1 +
hw/riscv/virt.c | 42 ++++++++++++++++++++++++++++++++++++
hw/smbios/smbios.c | 20 ++++++++++++++--
include/hw/firmware/smbios.h | 1 +
qemu-options.hx | 6 +++---
5 files changed, 65 insertions(+), 5 deletions(-)
--
2.43.0
Read more here: Source link
