Index: qemu/linux-user/syscall.c =================================================================== --- qemu.orig/linux-user/syscall.c 2007-05-29 22:42:04.000000000 -0400 +++ qemu/linux-user/syscall.c 2007-05-29 22:47:00.000000000 -0400 @@ -2916,8 +2916,13 @@ int host_pipe[2]; ret = get_errno(pipe(host_pipe)); if (!is_error(ret)) { +#if defined(TARGET_MIPS) + ((CPUMIPSState*)cpu_env)->gpr[3] = host_pipe[1]; + ret = host_pipe[0]; +#else tput32(arg1, host_pipe[0]); tput32(arg1 + 4, host_pipe[1]); +#endif } } break;