From: "sowmya dayanand" Subject: Re: Clock interrupts + hypervisor calls Date: Tue, 28 Feb 2006 12:22:05 -0700 Message-ID: <83c5685b0602281122m7fc60408rc8eed045af0ab6b2@mail.gmail.com> References: <83c5685b0602202339k33eb2024qa8912e3b96aa9f10@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0490451722==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0490451722== Content-Type: multipart/alternative; boundary="----=_Part_3326_11639502.1141154525685" ------=_Part_3326_11639502.1141154525685 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Is there a flag that the long-lived hypercalls set to indicate that they ca= n 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 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 > > ------=_Part_3326_11639502.1141154525685 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
 
Is there a flag that the long-lived hypercalls set to indicate that th= ey can be preempted? Also is the flag per-domain to indicate that the hyper= call is in progress in the particular domain?
 
Thanks,
Sowmya.

 
On 2/21/06, = Keir Fraser <Keir.Fraser= @cl.cam.ac.uk> wrote:

On 21 Feb 2006, at 07:39, so= wmya 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: s= ay the disk access hy per call is in progress and a guest OS on
> ano= ther domain generates a clock interrupt, can this interrupt be
> hand= led 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
hyper= call is resumed without the guest needing to do anything special.

-- Keir


------=_Part_3326_11639502.1141154525685-- --===============0490451722== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0490451722==--