On 13.10.2022 19:18, Peter Maydell wrote:
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.mayd...@linaro.org>
---
NB: tested only with 'make check' and 'make check-avocado', which
may well not exercise this.
In general the patch LGTM, but I will runtime-test it on Monday
just to be sure.
Thanks,
Maciej