On 28 July 2018 at 17:36, Richard Henderson <richard.hender...@linaro.org> 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 <alistair.fran...@wdc.com> >> --- >> 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