From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5cij-0002wi-0b for qemu-devel@nongnu.org; Sun, 17 May 2009 05:31:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5cid-0002s9-21 for qemu-devel@nongnu.org; Sun, 17 May 2009 05:31:48 -0400 Received: from [199.232.76.173] (port=55420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5cic-0002s2-Ol for qemu-devel@nongnu.org; Sun, 17 May 2009 05:31:42 -0400 Received: from mx2.redhat.com ([66.187.237.31]:41105) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5cic-0003YB-Cj for qemu-devel@nongnu.org; Sun, 17 May 2009 05:31:42 -0400 Message-ID: <4A0FD978.8080606@redhat.com> Date: Sun, 17 May 2009 12:31:36 +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> <4A0C5985.6020206@redhat.com> <4A0FCED5.6070005@yahoo.it> In-Reply-To: <4A0FCED5.6070005@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: Heli Cc: qemu-devel@nongnu.org Heli wrote: >> > 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. Yes. > QEMU receives a system call and software emulator > QEMU performs a system call in O.S. host. > It is right? No, guest system calls are handled by the guest OS. -- error compiling committee.c: too many arguments to function