summary refs log tree commit diff stats
path: root/monitor/misc.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-10-14 15:28:41 +0100
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-10-17 16:15:10 -0300
commit0a3364043d84632f7a5661cdffa5e557f5ceb250 (patch)
tree0a33af4bdd34cfa61103f360ce6af44ffeebb32c /monitor/misc.c
parentc348e09fb077553469f3d9be41ba671e63733a9b (diff)
downloadfocaccia-qemu-0a3364043d84632f7a5661cdffa5e557f5ceb250.tar.gz
focaccia-qemu-0a3364043d84632f7a5661cdffa5e557f5ceb250.zip
hw/ppc/spapr_pci.c: Use device_cold_reset() rather than device_legacy_reset()
In spapr_phb_children_reset() we call device_legacy_reset() to reset any
QOM children of the SPAPR PCI host bridge device. This will not reset
any qbus such a child might own. Switch to device_cold_reset(), which will
reset both the device and its buses. (If the child has no qbuses then
there will be no change in behaviour.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20221014142841.2092784-1-peter.maydell@linaro.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'monitor/misc.c')
0 files changed, 0 insertions, 0 deletions