Re: [PATCH v2 1/7] softmmu: add qemu_[set|get]_exit_status functions

2022-06-21 Thread Laurent Vivier
Le 21/06/2022 à 14:59, Luc Michel a écrit : Add the two function qemu_set_exit_status() and qemu_get_exit_status(). Use qemu_get_exit_status() in main instead of 0 as the return value. This is in preparation for the semihosting exit request implementation. Signed-off-by: Luc Michel --- inclu

[PATCH v2 1/7] softmmu: add qemu_[set|get]_exit_status functions

2022-06-21 Thread Luc Michel
Add the two function qemu_set_exit_status() and qemu_get_exit_status(). Use qemu_get_exit_status() in main instead of 0 as the return value. This is in preparation for the semihosting exit request implementation. Signed-off-by: Luc Michel --- include/sysemu/sysemu.h | 2 ++ softmmu/main.c