diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-05-03 16:18:47 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-05-04 13:12:59 +1000 |
commit | b2df46fd80d9cebc8d9cd3690ec425273c55b434 (patch) | |
tree | 6e39a9d9f985c4a7dffd0707ac18d0ed295fe66e /fsdev | |
parent | f350982f5e1715875e547f639baea8c1c9e60bba (diff) | |
download | qemu-b2df46fd80d9cebc8d9cd3690ec425273c55b434.zip qemu-b2df46fd80d9cebc8d9cd3690ec425273c55b434.tar.gz qemu-b2df46fd80d9cebc8d9cd3690ec425273c55b434.tar.bz2 |
hw/intc/spapr_xive: Use device_cold_reset() instead of device_legacy_reset()
The h_int_reset() function resets the XIVE interrupt controller via
device_legacy_reset(). We know that the interrupt controller does
not have a qbus of its own, 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-2-peter.maydell@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions