hi there, I''m wondering if the guest OS can handle most of the system calls by itself? Only for these hypercalls defined in hypervisor.h, guest OS needs to go down to Xen. For all other system calls, xeno handles in its own doamin well. Is this understanding right? If not, how are the system calls handled? Thanks, Yan ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we''ll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Ian Pratt
2004-Jun-01 08:20 UTC
Re: [Xen-devel] Can guest OS handle system calls by itself?
> > I''m wondering if the guest OS can handle most of the system calls by itself? > Only for these hypercalls defined in hypervisor.h, guest OS needs to go down > to Xen. For all other system calls, xeno handles in its own doamin well.A Guest OS can register a ''fast trap'' handler that will typically enable direct entry to its system call handlers without bouncing via Xen. The guest will probably be able to handle most system calls without any interaction with Xen. However, if it''s modifying or switching page tables etc then it will need to make hypercalls down to Xen in the normal way. Ian ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we''ll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Thank you! Then which part of the codes should I look at about this issue? I wanna have a more clear vision of it. Thanks, Yan ----- Original Message ----- From: "Ian Pratt" <Ian.Pratt@cl.cam.ac.uk> To: "Yan Li" <yan_li00@hotmail.com> Cc: <xen-devel@lists.sourceforge.net>; <Ian.Pratt@cl.cam.ac.uk> Sent: Tuesday, June 01, 2004 1:20 AM Subject: Re: [Xen-devel] Can guest OS handle system calls by itself?> > > > I''m wondering if the guest OS can handle most of the system calls byitself?> > Only for these hypercalls defined in hypervisor.h, guest OS needs to godown> > to Xen. For all other system calls, xeno handles in its own doamin well. > > A Guest OS can register a ''fast trap'' handler that will typically > enable direct entry to its system call handlers without bouncing > via Xen. The guest will probably be able to handle most system > calls without any interaction with Xen. However, if it''s modifying > or switching page tables etc then it will need to make hypercalls > down to Xen in the normal way. > > Ian > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we''ll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we''ll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel