Clock interrupts + hypervisor calls
Hi All,
I wanted to know if a clock interrupt from any of the guest OS interrupt/preempt a hypervisor call in xen?
Eg: say the disk access hypercall is in progress and a guest OS on another domain generates a clock interrupt, can this interrupt be handled in the middle of the hypervisor call or does it have to wait?
Thanks,
Sowmya.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · sowmya dayanand
Hi All,
I wanted to know if a clock interrupt from any of the guest OS interrupt/preempt a hypervisor call in xen?
Eg: say the disk access hy per call is in progress and a guest OS on another domain generates a clock interrupt, can this interrupt be handled in the middle of the hypervisor call or does it have to wait?
There is no disc access hypercall as Xen does not do I/O itself. Long-lived hypercalls can be voluntarily preempted by events. The hypercall is resumed without the guest needing to do anything special.
-- Keir
Is there a flag that the long-lived hypercalls set to indicate that they can be preempted? Also is the flag per-domain to indicate that the hypercall is in progress in the particular domain?
Thanks,
Sowmya.
Quoted 13 lines · Keir Fraser
Quoted 8 lines · sowmya dayanand
Hi All,
I wanted to know if a clock interrupt from any of the guest OS interrupt/preempt a hypervisor call in xen?
Eg: say the disk access hy per call is in progress and a guest OS on another domain generates a clock interrupt, can this interrupt be handled in the middle of the hypervisor call or does it have to wait?
Quoted 7 lines
There is no disc access hypercall as Xen does not do I/O itself. Long-lived hypercalls can be voluntarily preempted by events. The hypercall is resumed without the guest needing to do anything special.
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 1 line · sowmya dayanand
Is there a flag that the long-lived hypercalls set to indicate that they can be preempted? Also is the flag per-domain to indicate that the hypercall is in progress in the particular domain?
Preemption is voluntary. Long-lived hypercalls poll for pending events / work to do.
-- Keir
My understanding is that
1) There will be only one hypercall at any point of time( there is no queue). Is this right?
2) This hypercall can poll for events/work to do in case it is preemptable. Is there any way that the hypercall can be made non-preemptable?
Thanks,
Sowmya.
Quoted 4 lines · Keir Fraser
On 28 Feb 2006, at 19:22, sowmya dayanand wrote:
Quoted 10 lines
Quoted 3 lines
Is there a flag that the long-lived hypercalls set to indicate that they can be preempted? Also is the flag per-domain to indicate that the hypercall is in progress in the particular domain?
Preemption is voluntary. Long-lived hypercalls poll for pending events / work to do.
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel