Re: [PATCH 1/2] hw/char/sh_serial: Delete fifo_timeout_timer in DeviceUnrealize

2025-02-06 Thread Peter Maydell
On Fri, 24 Jan 2025 at 17:51, Philippe Mathieu-Daudé wrote: > > fifo_timeout_timer is created in the DeviceRealize handler, > not in the instance_init one. For parity, delete it in > DeviceUnrealize, rather than instance_finalize. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Mayd

[PATCH 1/2] hw/char/sh_serial: Delete fifo_timeout_timer in DeviceUnrealize

2025-01-24 Thread Philippe Mathieu-Daudé
fifo_timeout_timer is created in the DeviceRealize handler, not in the instance_init one. For parity, delete it in DeviceUnrealize, rather than instance_finalize. Signed-off-by: Philippe Mathieu-Daudé --- hw/char/sh_serial.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --