From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqqBv-0000o3-3G for qemu-devel@nongnu.org; Tue, 18 Nov 2014 16:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqqBp-0001Kl-HL for qemu-devel@nongnu.org; Tue, 18 Nov 2014 16:20:03 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:38881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqqBp-0001KT-AR for qemu-devel@nongnu.org; Tue, 18 Nov 2014 16:19:57 -0500 Received: by mail-wg0-f41.google.com with SMTP id y19so9625482wgg.14 for ; Tue, 18 Nov 2014 13:19:56 -0800 (PST) Sender: Paolo Bonzini Message-ID: <546BB7F8.1050800@redhat.com> Date: Tue, 18 Nov 2014 22:19:52 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1416340889-4991-1-git-send-email-ilg@livius.net> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] Pass semihosting exit code back to system. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Liviu Ionescu Cc: QEMU Developers On 18/11/2014 21:08, Peter Maydell wrote: > Applied to target-arm.next, thanks. > (That's > https://git.linaro.org/people/peter.maydell/qemu-arm.git target-arm.next > which is a *rebasing* branch.) 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. Paolo