[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] how page faults are handled in paravirtualized xenguests?



On Tue, 2008-03-11 at 09:38 +0800, tgh wrote:
> hi
>   and that is ,in 64-bit,guest application entry into guestos kernel 
> 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

-- 
Daniel Stodden
LRR     -      Lehrstuhl fÃr Rechnertechnik und Rechnerorganisation
Institut fÃr Informatik der TU MÃnchen             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.