qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-9.2 01/10] hw/s390/virtio-ccw: Convert to three-phase res


From: Nina Schoetterl-Glausch
Subject: Re: [PATCH for-9.2 01/10] hw/s390/virtio-ccw: Convert to three-phase reset
Date: Fri, 23 Aug 2024 19:34:25 +0200
User-agent: Evolution 3.52.3 (3.52.3-1.fc40)

On Tue, 2024-08-13 at 17:52 +0100, Peter Maydell wrote:
> Convert the virtio-ccw code to three-phase reset.  This allows us to
> remove a call to device_class_set_parent_reset(), replacing it with
> the three-phase equivalent resettable_class_set_parent_phases().
> Removing all the device_class_set_parent_reset() uses will allow us
> to remove some of the glue code that interworks between three-phase
> and legacy reset.
> 
> This is a simple conversion, with no behavioural changes.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> It looks a little odd that we do the this-class reset first
> and then chain up to the parent's reset, but that's what the
> existing code does, so I left it alone.
> ---

Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]