Re: [PATCH v3 1/5] softmmu: add means to pass an exit code when requesting a shutdown

2023-09-17 Thread Alistair Francis
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote: > > 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

[PATCH v3 1/5] softmmu: add means to pass an exit code when requesting a shutdown

2023-09-07 Thread Clément Chigot
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 --- include/sysemu/runst