From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4eTL-0007lr-1d for qemu-devel@nongnu.org; Thu, 14 May 2009 13:11:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4eTI-0007lS-6e for qemu-devel@nongnu.org; Thu, 14 May 2009 13:11:53 -0400 Received: from [199.232.76.173] (port=39235 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4eTI-0007lP-1C for qemu-devel@nongnu.org; Thu, 14 May 2009 13:11:52 -0400 Received: from smtp142.mail.ukl.yahoo.com ([77.238.184.73]:47595) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M4eTH-0001FT-Dw for qemu-devel@nongnu.org; Thu, 14 May 2009 13:11:51 -0400 Message-ID: <4A0C50D4.9020803@yahoo.it> Date: Thu, 14 May 2009 19:11:48 +0200 From: grisu46 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> In-Reply-To: <4A0C496B.3080601@redhat.com> 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: qemu-devel@nongnu.org Avi Kivity ha scritto: > Heli wrote: >> Does QEMU generate a system call that goes to libc library and the to >> the kernel? >> Then the kernel run it on hardware, kernel replies to libc and libc >> notifies to QEMU. QEMU replies to guest O.S, is it true? > > No. Look at target-i386/translate.c, case 0x105 for syscall emulation. > Eventually it ends up calling helper_syscall(). > Simplify? I am a newbie. Thanks you all for your rapid answers. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com