Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4tBW-0001or-Mi for qemu-devel@nongnu.org; Fri, 15 May 2009 04:54:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4tBV-0001n7-Bv for qemu-devel@nongnu.org; Fri, 15 May 2009 04:54:30 -0400 Received: from [199.232.76.173] (port=38023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4tBV-0001mu-5E for qemu-devel@nongnu.org; Fri, 15 May 2009 04:54:29 -0400 Received: from web28612.mail.ukl.yahoo.com ([87.248.110.221]:30947) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M4tBU-0004LJ-Gg for qemu-devel@nongnu.org; Fri, 15 May 2009 04:54:28 -0400 Message-ID: <517991.99177.qm@web28612.mail.ukl.yahoo.com> Date: Fri, 15 May 2009 08:54:27 +0000 (GMT) From: helicoterus-elih@yahoo.it Subject: Re: [Qemu-devel] How does a system call work on QEMU? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Reply-To: helicoterus-elih@yahoo.it List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org =0A=0A=0A> > > Which mode of Qemu operations do you refer to? if=0A> you=0A= > > refer to full=0A> > > MMU emulation (no KVM or kqemu involved then),=0A= > then=0A> > intercepting=0A> > > syscall is basically intercepting interru= pt 80=0A> hex or=0A> > SYSENTER/SYSCALL=0A> > > into host user mode instruc= tion during code=0A> > translation.=0A> > =0A> > Ok, I refer to full emulat= ion.=0A> > When QEMU intercepts a system call what does it do?=0A> What=0A>= > type of translation or modification does it perform?=0A> > =0ASo it this= the architecture of qemu, emulator version?=0AQEMU is a process that gives= to o.s.guest a virtual hw=0Alayer.=0AEvery guest will be run by a QEMU ins= tance.=0A=0ASee picture schema I prepaired: http://yfrog.com/7gqemulayersj= =0A=0ASo system calls go from a guest application to its=0Aoperating system= that communicates with its virtual=0Ahardware. QEMU receives a system call= and software emulator=0AQEMU performs a system call in O.S. host. =0AIt is= right?=0A=0AThanks=0A=0A=0A