From: Daniel Stodden Subject: Re: how page faults are handled in paravirtualized xenguests? Date: Tue, 11 Mar 2008 07:21:27 +0100 Message-ID: <1205216487.31220.10.camel@thinkpad.localdomain> References: <47D5E29E.9030706@sina.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <47D5E29E.9030706@sina.com.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: weiming , xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tue, 2008-03-11 at 09:38 +0800, tgh wrote: > hi > and that is ,in 64-bit,guest application entry into guestos kernel=20 > directly through SYSCALL,or not? no, you can't. programs use syscall to enter the kernel, and the kernel is using syscall to enter xen. since you can only configure one entry point at a time (and both xen and applications run in ring 3 anyway), xen is handling all syscalls, then checks the context it was issued from, and forwards the call to to the guest kernel if it was user code. regards, daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B