diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 15:55:24 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 15:55:24 +0000 |
commit | d170529d56170e401b559a1e6b053c2138b852cb (patch) | |
tree | 6e2706b3dd32cf5d50568ce62cdfbaf0c8dfa27a /scripts/qemugdb/tcg.py | |
parent | 4208e6ae114ac8266dcacc9696a443ce5c37b04e (diff) | |
download | qemu-d170529d56170e401b559a1e6b053c2138b852cb.zip qemu-d170529d56170e401b559a1e6b053c2138b852cb.tar.gz qemu-d170529d56170e401b559a1e6b053c2138b852cb.tar.bz2 |
hw/s390x/s390-pci-inst.c: Use device_cold_reset() to reset PCI devices
The semantic difference between the deprecated device_legacy_reset()
function and the newer device_cold_reset() function is that the new
function resets both the device itself and any qbuses it owns,
whereas the legacy function resets just the device itself and nothing
else.
In s390-pci-inst.c we use device_legacy_reset() to reset an
S390PCIBusDevice. This device doesn't have any child qbuses, so the
functions do the same thing and we can stop using the deprecated one.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qemugdb/tcg.py')
0 files changed, 0 insertions, 0 deletions