From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5c0a-0002Tu-Hk for qemu-devel@nongnu.org; Sun, 17 May 2009 04:46:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5c0Y-0002Ti-3W for qemu-devel@nongnu.org; Sun, 17 May 2009 04:46:11 -0400 Received: from [199.232.76.173] (port=38844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5c0X-0002Tf-Td for qemu-devel@nongnu.org; Sun, 17 May 2009 04:46:09 -0400 Received: from smtp132.mail.ukl.yahoo.com ([77.238.184.63]:29636) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M5c0X-0007Sb-CH for qemu-devel@nongnu.org; Sun, 17 May 2009 04:46:09 -0400 Message-ID: <4A0FCED5.6070005@yahoo.it> Date: Sun, 17 May 2009 10:46:13 +0200 From: Heli 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> <4A0C5985.6020206@redhat.com> In-Reply-To: <4A0C5985.6020206@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: Avi Kivity Cc: qemu-devel@nongnu.org Avi Kivity ha scritto: > 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. > So it this the architecture of qemu, emulator version? QEMU is a process that gives to o.s.guest a virtual hw layer. Every guest will be run by a QEMU instance. See picture schema I prepaired: http://yfrog.com/7gqemulayersj So system calls go from a guest application to its operating system that communicates with its virtual hardware. QEMU receives a system call and software emulator QEMU performs a system call in O.S. host. It is right? Thanks Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com