From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkBuh-0002gz-2b for qemu-devel@nongnu.org; Mon, 30 Jul 2018 13:24:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkBug-0002mw-2B for qemu-devel@nongnu.org; Mon, 30 Jul 2018 13:24:55 -0400 Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]:35925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkBuf-0002mX-Q1 for qemu-devel@nongnu.org; Mon, 30 Jul 2018 13:24:53 -0400 Received: by mail-lf1-x144.google.com with SMTP id b22-v6so8696044lfa.3 for ; Mon, 30 Jul 2018 10:24:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <383842e2-9d91-ff2d-642d-c3cb003895b7@linaro.org> From: Alistair Francis Date: Mon, 30 Jul 2018 10:24:21 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v1 1/1] configure: Add RISC-V host support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Richard Henderson , Alistair Francis , QEMU Developers , Michael Clark On Sun, Jul 29, 2018 at 4:28 AM, Peter Maydell wrote: > On 28 July 2018 at 17:36, Richard Henderson > wrote: >> On 07/27/2018 04:49 PM, Alistair Francis wrote: >>> Allow QEMU to be built to run on a RISC-V host. >>> >>> QEMU does not yet have a RISC-V TCG or user mode target port, but >>> running other architectures on RISC-V using TCI does work. >>> >>> Signed-off-by: Alistair Francis >>> --- >>> configure | 18 +++++++++++++++++- >>> 1 file changed, 17 insertions(+), 1 deletion(-) >> >> This is ok as far as it goes. >> >> Even for TCI, you need some more. >> >> At minimum, see Michael Clark's branch changes to accel/tcg/user-exec.c for >> host signal handling. While you can run *-softmmu without this, none of >> *-linux-user will work reliably. >> >> Another piece that even Michael Clark does not have is >> linux-user/host/*/safe-syscall.S. > > It might be nice to complete the safe-syscall stuff for all hosts, > and then remove the fallback that lets you build an unreliable > linux-user binary without it... At the moment though QEMU won't build with Linux user. So some work is required just to get the build working. Alistair > > thanks > -- PMM