aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-05-03 16:18:49 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2021-05-04 13:12:59 +1000
commit4bb32cd7b1e42c46d274b727c8be8e45b4df3814 (patch)
treec9fe605fa3eb9d01e6fdcf8bef94a1bd58a098c2 /tools
parent3e1c8ba98844254cbf2e8134697c3f20faf461d4 (diff)
downloadqemu-4bb32cd7b1e42c46d274b727c8be8e45b4df3814.zip
qemu-4bb32cd7b1e42c46d274b727c8be8e45b4df3814.tar.gz
qemu-4bb32cd7b1e42c46d274b727c8be8e45b4df3814.tar.bz2
hw/ppc/pnv_psi: Use device_cold_reset() instead of device_legacy_reset()
The pnv_psi.c code uses device_legacy_reset() for two purposes: * to reset itself from its qemu_register_reset() handler * to reset a XiveSource object it has Neither it nor the XiveSource have any qbuses, so the new device_cold_reset() function (which resets both the device and its child buses) is equivalent here to device_legacy_reset() and we can just switch to the new API. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20210503151849.8766-4-peter.maydell@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions