vmbus: Switch bus reset to 3-phase-reset
commitd7f35529287abf0ed66e83eb0614bc24186f6957
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Jan 2024 16:35:09 +0000 (19 16:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:57 +0000 (2 13:51 +0000)
treeba41a8a8a048821e755e5dcd8cfd6651efafb613
parente6c03989af6dcdfdd64ff717a8b4b47f3848c0b7
vmbus: Switch bus reset to 3-phase-reset

Switch vmbus from using BusClass::reset to the Resettable interface.

This has no behavioural change, because the BusClass code to support
subclasses that use the legacy BusClass::reset will call that method
in the hold phase of 3-phase reset.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cédric Le Goater <clg@redhat.com>
Acked-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-id: 20240119163512.3810301-3-peter.maydell@linaro.org
hw/hyperv/vmbus.c