Clément Chigot 215128e44b hw/misc/sifive_test.c: replace exit calls with proper shutdown
This replaces the exit calls by shutdown requests, ensuring a proper
cleanup of Qemu. Otherwise, some connections like gdb could be broken
before its final packet ("Wxx") is being sent. This part, being done
inside qemu_cleanup function, can be reached only when the main loop
exits after a shutdown request.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231003071427.188697-4-chigot@adacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2023-10-12 12:34:30 +10:00
..
2023-07-25 17:13:53 +03:00
2023-10-06 10:33:43 +02:00
2023-03-07 12:38:40 +01:00
2023-07-25 17:13:53 +03:00
2023-03-02 13:57:50 +01:00
2023-09-21 11:31:16 +03:00
2023-08-31 09:45:17 +01:00
2023-10-06 10:33:43 +02:00
2023-10-06 10:33:43 +02:00
2023-04-20 11:17:35 +02:00
2023-10-06 10:33:43 +02:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00