From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVnDw-0007bf-HK for qemu-devel@nongnu.org; Sat, 07 Feb 2009 08:27:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVnDs-0007X7-Ll for qemu-devel@nongnu.org; Sat, 07 Feb 2009 08:27:56 -0500 Received: from [199.232.76.173] (port=50491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVnDs-0007WZ-88 for qemu-devel@nongnu.org; Sat, 07 Feb 2009 08:27:52 -0500 Received: from soufre.accelance.net ([213.162.48.15]:64857) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LVnDr-0005TA-U6 for qemu-devel@nongnu.org; Sat, 07 Feb 2009 08:27:52 -0500 Received: from [192.168.0.3] (potipota.net [88.168.176.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by soufre.accelance.net (Postfix) with ESMTP id 626B345027 for ; Sat, 7 Feb 2009 14:27:45 +0100 (CET) Subject: Re: [Qemu-devel] question about syscall From: Lionel Landwerlin In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Date: Sat, 07 Feb 2009 14:27:43 +0100 Message-Id: <1234013263.13547.3.camel@cocoduo.atr> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Le samedi 07 f=C3=A9vrier 2009 =C3=A0 14:15 +0100, Antonio Ricci a =C3=A9= crit : > Hi all,=20 >=20 >=20 > i'd want to understand how Qemu handles system calls while executing > both Linux and Windows operating system. A syscall is usually done by generating a cpu exception. In Qemu, when a such exception is catched by a virtual cpu, Qemu executes the related syscall (syscall number is usually put in a register). All of this depends on the ABI. --=20 =EF=BB=BFLione Landwerlin =20 =EF=BB=BF O p e n W i d e 14, rue Gaillon 75002 Paris