Searched hist:"7764963 b9239dc966122617cc8b61d4530d6ce2a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/hyperv/ |
H A D | hyperv.c | diff 7764963b9239dc966122617cc8b61d4530d6ce2a Thu Oct 13 12:18:17 CDT 2022 Peter Maydell <peter.maydell@linaro.org> hw/hyperv/hyperv.c: Use device_cold_reset() instead of device_legacy_reset()
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 hyperv_synic_reset() we reset a SynICState, which has no qbuses, so for this purpose the two functions behave identically and we can stop using the deprecated one.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Message-id: 20221013171817.1447562-1-peter.maydell@linaro.org
|