]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386: Have x86_bios_rom_init() take X86MachineState rather than MachineState
authorBernhard Beschow <shentey@gmail.com>
Tue, 30 Apr 2024 15:06:39 +0000 (17:06 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 8 May 2024 17:43:23 +0000 (19:43 +0200)
commit848351840148f8c3b53ddf6210194506547d3ffd
tree93ab0a075931844b1607c626d9f9868b9bafdc84
parent014dbdac8798799d081abc9dff3e4876ca54f49e
hw/i386: Have x86_bios_rom_init() take X86MachineState rather than MachineState

The function creates and leaks two MemoryRegion objects regarding the BIOS which
will be moved into X86MachineState in the next steps to avoid the leakage.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240430150643.111976-3-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/microvm.c
hw/i386/pc_sysfw.c
hw/i386/x86.c
include/hw/i386/x86.h