From: "Geoffrey Lefebvre" Subject: Re: Real-time support Date: Fri, 11 May 2007 10:53:20 -0700 Message-ID: References: <46403C69.E57C.0030.0@novell.com> <8A87A9A84C201449A0C56B728ACF491E0BA4E3@liverpoolst.ad.cl.cam.ac.uk> <4644320A.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4644320A.E57C.0030.0@novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ky Srinivasan Cc: xen-devel List-Id: xen-devel@lists.xenproject.org > One way to deal with the problem you mention here is to have the guest OS have the smarts to (a) check for preemption conditions that may arise because a higher priority thread in the guest is runnable and (b) re-issue the hypercall that was only partially completed. Hi, Yes i agree. Preempting the hypercall and returning an indication of forward progress to the guest as is currently done with multicall, etc should work. I misunderstood Ian Pratt's earlier suggestion. I thought his idea was to preempt the hypercall and keep preemption state inside the hypervisor. My mistake :). cheers, Geoffrey