Re: [PATCH 1/3] hw/misc/sifive_test.c: replace exit(0) with proper shutdown

2023-08-21 Thread Alistair Francis
On Fri, Aug 18, 2023 at 5:03 AM Clément Chigot wrote: > > This replaces the exit(0) call by a shutdown request, ensuring a proper > cleanup of Qemu. Otherwise, some connections like gdb could be broken > without being correctly flushed. > > Signed-off-by: Clément Chigot Reviewed-by: Alistair Fra

[PATCH 1/3] hw/misc/sifive_test.c: replace exit(0) with proper shutdown

2023-08-18 Thread Clément Chigot
This replaces the exit(0) call by a shutdown request, ensuring a proper cleanup of Qemu. Otherwise, some connections like gdb could be broken without being correctly flushed. Signed-off-by: Clément Chigot --- hw/misc/sifive_test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --