diff options
author | Mark Cave-Ayland <mark.caveayland@nutanix.com> | 2025-08-28 12:09:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-08-29 11:20:48 +0200 |
commit | b11ad71e32441baff354cdab1993847b61923570 (patch) | |
tree | 76f7dc40363113a32bd95acdde2c1454aad01230 | |
parent | 20fd284ec3c6ec39fb8e062d52f1ee514e89c554 (diff) | |
download | qemu-b11ad71e32441baff354cdab1993847b61923570.zip qemu-b11ad71e32441baff354cdab1993847b61923570.tar.gz qemu-b11ad71e32441baff354cdab1993847b61923570.tar.bz2 |
hw/i386/pc_piix.c: remove pc_system_flash_cleanup_unused() from pc_init_isa()
This function contains 'assert(PC_MACHINE_GET_CLASS(pcms)->pci_enabled)' and so we can
safely assume that it should never be used for the isapc machine.
Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20250828111057.468712-14-mark.caveayland@nutanix.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | hw/i386/pc_piix.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 66dc4a5..fb93674 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -503,7 +503,6 @@ static void pc_init_isa(MachineState *machine) assert(machine->ram_size == x86ms->below_4g_mem_size + x86ms->above_4g_mem_size); - pc_system_flash_cleanup_unused(pcms); if (machine->kernel_filename != NULL) { /* For xen HVM direct kernel boot, load linux here */ xen_load_linux(pcms); |