diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-08-13 17:52:46 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-08-20 00:38:48 +0200 |
commit | 7d3a421feab29c03601813c8a0f98d5b2fd4420a (patch) | |
tree | e8bca79dd8b3de393dd14c3bd604c99e1212c64c /qemu.nsi | |
parent | dfad8421af474a38e272cdb19ae3c8e778acf820 (diff) | |
download | qemu-7d3a421feab29c03601813c8a0f98d5b2fd4420a.zip qemu-7d3a421feab29c03601813c8a0f98d5b2fd4420a.tar.gz qemu-7d3a421feab29c03601813c8a0f98d5b2fd4420a.tar.bz2 |
hw/remote/message.c: Don't directly invoke DeviceClass:reset
Directly invoking the DeviceClass::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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240813165250.2717650-7-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'qemu.nsi')
0 files changed, 0 insertions, 0 deletions