mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
hw/i386/pc: Merge pc_guest_info_init() into pc_machine_initfn()
Resolves redundant code in the piix and q35 machines. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240208220349.4948-5-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
6e6d59a94d
commit
4d3457fef9
4 changed files with 3 additions and 12 deletions
|
@ -188,8 +188,6 @@ static void pc_q35_init(MachineState *machine)
|
|||
kvmclock_create(pcmc->kvmclock_create_always);
|
||||
}
|
||||
|
||||
pc_guest_info_init(pcms);
|
||||
|
||||
if (pcmc->smbios_defaults) {
|
||||
/* These values are guest ABI, do not change */
|
||||
smbios_set_defaults("QEMU", mc->desc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue