Peter Maydell 7764963b92 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
2022-10-27 10:27:23 +01:00
..
2022-10-25 11:37:17 -04:00
2022-06-30 04:49:40 +05:30
2022-04-26 12:25:14 +02:00
2022-09-04 07:02:56 +01:00
2022-07-22 19:01:44 +02:00
2022-10-26 12:54:59 +04:00
2022-06-11 11:44:50 +02:00
2022-10-24 11:20:15 +02:00