From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4f3e-0003GG-1Q for qemu-devel@nongnu.org; Thu, 14 May 2009 13:49:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4f3Z-0003Ez-Go for qemu-devel@nongnu.org; Thu, 14 May 2009 13:49:25 -0400 Received: from [199.232.76.173] (port=45861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4f3Z-0003Ew-Ao for qemu-devel@nongnu.org; Thu, 14 May 2009 13:49:21 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54446) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4f3Y-0007RR-RZ for qemu-devel@nongnu.org; Thu, 14 May 2009 13:49:21 -0400 Message-ID: <4A0C5985.6020206@redhat.com> Date: Thu, 14 May 2009 20:48:53 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] How does a system call work on QEMU? References: <877930.94637.qm@web28603.mail.ukl.yahoo.com> <200905141119.01914.paul@codesourcery.com> <4A0C184D.3030307@yahoo.it> <4A0C496B.3080601@redhat.com> <4A0C50D4.9020803@yahoo.it> In-Reply-To: <4A0C50D4.9020803@yahoo.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: grisu46 Cc: qemu-devel@nongnu.org grisu46 wrote: >> No. Look at target-i386/translate.c, case 0x105 for syscall >> emulation. Eventually it ends up calling helper_syscall(). >> > > Simplify? > I am a newbie. Sorry, you're on your own. I can give you pointers but it's up to you to follow them. If you're serious about understanding qemu you should be prepared a lot of time reading the source code and processor documentation. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.