[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 25/33] hw/i386/pc.c: remove device_legacy_reset c
From: |
Damien Hedde |
Subject: |
[Qemu-devel] [PATCH v3 25/33] hw/i386/pc.c: remove device_legacy_reset call |
Date: |
Mon, 29 Jul 2019 16:56:46 +0200 |
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 <address@hidden>
---
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
- [Qemu-devel] [PATCH v3 15/33] hw/ide/piix.c: remove qdev_reset_all call, (continued)
- [Qemu-devel] [PATCH v3 15/33] hw/ide/piix.c: remove qdev_reset_all call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 16/33] hw/input/adb.c: remove qdev_reset_all call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 21/33] hw/intc/spapr_xive.c: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 19/33] hw/sd/pl181.c & omap_mmc.c: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 17/33] hw/usb/dev-uas.c: remove qdev_reset_all call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 14/33] hw/s390x/s390-virtio-ccw.c: remove qdev_reset_all call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 13/33] hw/scsi/: remove qdev/qbus_reset_all call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 23/33] hw/scsi/vmw_pvscsi.c: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 22/33] hw/ppc/pnv_psi.c: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 26/33] hw/s390x/s390-pci-inst.c: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 25/33] hw/i386/pc.c: remove device_legacy_reset call,
Damien Hedde <=
- [Qemu-devel] [PATCH v3 24/33] hw/ppc/spapr: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 31/33] Convert zynq's slcr to 3-phases reset, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 30/33] convert cadence_uart to 3-phases reset, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 27/33] hw/ide/microdrive.c: remove device_legacy_reset calls, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 20/33] hw/hyperv/hyperv.c: remove device_legacy_reset call, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 28/33] qdev: Remove unused deprecated reset functions, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 33/33] Connect the uart reset gpios in the zynq platform, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 32/33] Add uart reset support in zynq_slcr, Damien Hedde, 2019/07/29
- [Qemu-devel] [PATCH v3 29/33] hw/misc/zynq_slcr: use standard register definition, Damien Hedde, 2019/07/29
- Re: [Qemu-devel] [PATCH v3 00/33] Multi-phase reset mechanism, Cornelia Huck, 2019/07/30