On 18 November 2014 21:19, Paolo Bonzini <pbonz...@redhat.com> wrote:
> The isa-debugexit and testdev character device do not exit with exitcode
> 0, in order to distinguish an exit from a system power down; the
> low-order bit is always 1.  The return values then should be 1 and 3
> instead of 0 and 1.

Semihosting isn't a test device -- it's an implementation of an
ABI (mostly intended for almost-but-not-quite-bare-metal programs).
I'm pretty sure that exiting anything except 0 on a successful
exit request by the guest will break usage of QEMU in scenarios
like the gcc test suite.

thanks
-- PMM

Reply via email to