qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH for-9.2 06/10] hw/remote/message.c: Don't directly invoke Dev


From: Richard Henderson
Subject: Re: [PATCH for-9.2 06/10] hw/remote/message.c: Don't directly invoke DeviceClass:reset
Date: Wed, 14 Aug 2024 09:10:02 +1000
User-agent: Mozilla Thunderbird

On 8/14/24 02:52, Peter Maydell wrote:
Directly invoking theDeviceClass::reset method is a bad idea,
because if the device is using three-phase reset then it relies on
transitional reset machinery which is likely to disappear at some
point.

Reset the device in the standard way, by calling device_cold_reset().

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  hw/remote/message.c | 5 +----
  1 file changed, 1 insertion(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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