qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Laurent Vivier
Subject: Re: [PATCH v2 1/7] softmmu: add qemu_[set|get]_exit_status functions
Date: Tue, 21 Jun 2022 15:22:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

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 <lmichel@kalray.eu>
---
  include/sysemu/sysemu.h |  2 ++
  softmmu/main.c          |  2 +-
  softmmu/runstate.c      | 13 ++++++++++++-
  3 files changed, 15 insertions(+), 2 deletions(-)


Reviewed-by: Laurent Vivier <laurent@vivier.eu>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]