diff options
author | Peter Maydell | 2021-05-03 17:18:48 +0200 |
---|---|---|
committer | David Gibson | 2021-05-04 05:12:59 +0200 |
commit | 3e1c8ba98844254cbf2e8134697c3f20faf461d4 (patch) | |
tree | 5d5a1ab57aa74fd4aa52bd8e71c55ded5d6e4ee8 /scripts/update-linux-headers.sh | |
parent | hw/intc/spapr_xive: Use device_cold_reset() instead of device_legacy_reset() (diff) | |
download | qemu-3e1c8ba98844254cbf2e8134697c3f20faf461d4.tar.gz qemu-3e1c8ba98844254cbf2e8134697c3f20faf461d4.tar.xz qemu-3e1c8ba98844254cbf2e8134697c3f20faf461d4.zip |
hw/ppc/spapr_vio: Reset TCE table object with device_cold_reset()
The spapr_vio_quiesce_one() function resets the TCE table object
(TYPE_SPAPR_TCE_TABLE) via device_legacy_reset(). We know that
objects of that type do not have a qbus of their 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-3-peter.maydell@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions