Can guest OS handle system calls by itself?
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
Quoted 4 lines
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
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" <[email protected]>
To: "Yan Li" <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Tuesday, June 01, 2004 1:20 AM
Subject: Re: [Xen-devel] Can guest OS handle system calls by itself?
Quoted 2 lines
Quoted 2 lines
I'm wondering if the guest OS can handle most of the system calls by
itself?
Quoted 1 line
Quoted 1 line
Only for these hypercalls defined in
hypervisor.h, guest OS needs to go
down
Quoted 12 lines
Quoted 1 line
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
Quoted 10 lines
-------------------------------------------------------
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
[email protected]
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