WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Clock interrupts + hypervisor calls

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Clock interrupts + hypervisor calls
From: "sowmya dayanand" <sowmyad@xxxxxxxxx>
Date: Tue, 28 Feb 2006 12:22:05 -0700
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Feb 2006 19:22:33 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kzRh4LXekQz4LZDTrKoYsXUab3JQC0bS7uUEwboYVJJVXWEDXamEmC25rB0XdQgikC5ZUFxMCJyKdE+g/rxMWgf1WJzSAHMbmZr77R40I3BTWsPgHs41Y1XAnfh2ges8tnABIDywULwjtrRJ+9I07Z79igHbgIB9yOl6zE2DpD8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a30df8ee80523d5ae3e0f2b3d94e3f9d@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <83c5685b0602202339k33eb2024qa8912e3b96aa9f10@xxxxxxxxxxxxxx> <a30df8ee80523d5ae3e0f2b3d94e3f9d@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
 
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.

 
On 2/21/06, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:

On 21 Feb 2006, at 07:39, sowmya dayanand wrote:

> 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>