Re: [PATCH] hw: debugexit: use runstate API instead of plain exit()

2024-05-27 Thread Philippe Mathieu-Daudé
On 23/5/24 09:09, Thomas Weißschuh wrote: Directly calling exit() prevents any kind of management or handling. Instead use the corresponding runstate API. The default behavior of the runstate API is the same as exit(). Signed-off-by: Thomas Weißschuh --- hw/misc/debugexit.c | 4 +++- 1 file

[PATCH] hw: debugexit: use runstate API instead of plain exit()

2024-05-23 Thread Thomas Weißschuh
Directly calling exit() prevents any kind of management or handling. Instead use the corresponding runstate API. The default behavior of the runstate API is the same as exit(). Signed-off-by: Thomas Weißschuh --- hw/misc/debugexit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff