qemu/system
Clément Chigot 0386f39b46 softmmu: add means to pass an exit code when requesting a shutdown
As of now, the exit code was either EXIT_FAILURE when a panic shutdown
was requested or EXIT_SUCCESS otherwise.
However, some hardware could want to pass more complex exit codes. Thus,
introduce a new shutdown request function allowing that.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231003071427.188697-2-chigot@adacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2023-10-12 12:32:20 +10:00
..
arch_init.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
async-teardown.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
balloon.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
bootdevice.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
cpu-throttle.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
cpu-timers.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
cpus.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
datadir.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
device_tree.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
dirtylimit.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
dma-helpers.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
globals.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
ioport.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
main.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
memory.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
memory_mapping.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
meson.build system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
physmem.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
qdev-monitor.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
qemu-seccomp.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
qtest.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
rtc.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
runstate-action.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
runstate-hmp-cmds.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
runstate.c softmmu: add means to pass an exit code when requesting a shutdown 2023-10-12 12:32:20 +10:00
tpm-hmp-cmds.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
tpm.c * util/log: re-allow switching away from stderr log file 2023-10-09 10:11:18 -04:00
trace-events system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
trace.h system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
vl.c * util/log: re-allow switching away from stderr log file 2023-10-09 10:11:18 -04:00
watchpoint.c system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00