Replace additional APIC legacy reset by device_reset_cold. The new function propagates also the reset to the sub-buses tree. APIC does not have any so it should have no impact on behavior.
Signed-off-by: Damien Hedde <damien.he...@greensocs.com> --- hw/i386/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index c0f20fe8aa..a175d76819 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -2823,7 +2823,7 @@ static void pc_machine_reset(MachineState *machine) cpu = X86_CPU(cs); if (cpu->apic_state) { - device_legacy_reset(cpu->apic_state); + device_reset_cold(cpu->apic_state); } } } -- 2.22.0