From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjjsR-00074w-AG for qemu-devel@nongnu.org; Sun, 29 Jul 2018 07:28:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjjsQ-0003fp-G9 for qemu-devel@nongnu.org; Sun, 29 Jul 2018 07:28:43 -0400 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:34814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjjsQ-0003fA-AO for qemu-devel@nongnu.org; Sun, 29 Jul 2018 07:28:42 -0400 Received: by mail-oi0-x241.google.com with SMTP id 13-v6so16502515ois.1 for ; Sun, 29 Jul 2018 04:28:41 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <383842e2-9d91-ff2d-642d-c3cb003895b7@linaro.org> References: <383842e2-9d91-ff2d-642d-c3cb003895b7@linaro.org> From: Peter Maydell Date: Sun, 29 Jul 2018 12:28:20 +0100 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: Richard Henderson Cc: Alistair Francis , QEMU Developers , Michael Clark , Alistair Francis 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... thanks -- PMM