]> git.proxmox.com Git - mirror_qemu.git/commit
hw/i386/pc: Defer smbios_set_defaults() to machine_done
authorBernhard Beschow <shentey@gmail.com>
Thu, 8 Feb 2024 22:03:45 +0000 (23:03 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Feb 2024 11:47:40 +0000 (12:47 +0100)
commita0204a5ed091dfe79aced7ec8f3ce1931fd25816
tree3252c0070fb7e537ec8ecf8b33447ae4ea2d6756
parent4d3457fef9235202fa7d1511ddad852bb72b439a
hw/i386/pc: Defer smbios_set_defaults() to machine_done

Handling most of smbios data generation in the machine_done notifier is similar
to how the ARM virt machine handles it which also calls smbios_set_defaults()
there. The result is that all pc machines are freed from explicitly worrying
about smbios setup.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240208220349.4948-6-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/fw_cfg.c
hw/i386/fw_cfg.h
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/i386/pc.h