From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6miT-0003oY-R4 for qemu-devel@nongnu.org; Wed, 20 May 2009 10:24:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6miS-0003oG-F7 for qemu-devel@nongnu.org; Wed, 20 May 2009 10:24:21 -0400 Received: from [199.232.76.173] (port=39907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6miS-0003oD-A4 for qemu-devel@nongnu.org; Wed, 20 May 2009 10:24:20 -0400 Received: from naru.obs2.net ([84.20.150.76]:44268) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6miR-0004AL-Uf for qemu-devel@nongnu.org; Wed, 20 May 2009 10:24:20 -0400 Date: Wed, 20 May 2009 17:24:15 +0300 From: Riku Voipio Subject: Re: [Qemu-devel] [PATCH ] linux-user: add tee systemcall support Message-ID: <20090520142415.GA9702@kos.to> References: <1242478961.2167.7.camel@system> <1242720723.2188.13.camel@system> <20090519113635.GA11400@kos.to> <1242736574.2188.32.camel@system> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1242736574.2188.32.camel@system> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: vibi sreenivasan Cc: qemu-devel@nongnu.org On Tue, May 19, 2009 at 06:06:14PM +0530, vibi sreenivasan wrote: > yes i am plannig to implement splice & vmsplice. > Also i have a plan to look in to adding support for > unimplemented syscalls (got that idea from TODO),if any. > Before that i was trying to make sure that i am going in the > right path. looks good, worked also fine with tests. dropped to my linux-user git tree: https://git.maemo.org/projects/qemu/gitweb?p=qemu;a=shortlog;h=refs/heads/linux-user-for-upstream > thanks & regards > vibi sreenivasan > > > > > > > Thanks & Regards > > > vibi sreenivasan > > > > > > >Signed-off-by: vibi > > > >--- > > > >linux-user/syscall.c | 8 ++++++++ > > > >1 files changed, 8 insertions(+), 0 deletions(-) > > > > > > >diff --git a/linux-user/syscall.c b/linux-user/syscall.c > > > >index 76f0c95..f2f87c3 100644 > > > >--- a/linux-user/syscall.c > > > >+++ b/linux-user/syscall.c > > > >@@ -6580,6 +6580,14 @@ abi_long do_syscall(void *cpu_env, int num, > > > >abi_long arg1, > > > break; > > > >#endif > > > > > > >+#ifdef TARGET_NR_tee > > > >+ case TARGET_NR_tee: > > > >+ { > > > >+ ret = get_errno(tee(arg1,arg2,arg3,arg4)); > > > >+ } > > > >+ break; > > > >+#endif > > > >+ > > > > default: > > > > unimplemented: > > > > gemu_log("qemu: Unsupported syscall: %d\n", num); > > > > > > > > > > > > > > > > > > > > > > >