From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Williamson Subject: Re: Dynamic-irq's in HVM domains Date: Fri, 30 Nov 2007 18:57:43 +0000 Message-ID: <200711301857.44555.mark.williamson@cl.cam.ac.uk> References: <1196415224.21533.24.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: xen-devel@lists.xensource.com Cc: James Harper , Ian Campbell List-Id: xen-devel@lists.xenproject.org > > I can't help with the Windows side I'm afraid, perhaps there is a > > windows dev newsgroup or something that might be useful? > > There might be. Curiously, windows communities are a bit different... > people like to keep their cards closer to their chest :) > > > On Fri, 2007-11-30 at 20:02 +1100, James Harper wrote: > > > I made the assumption that 'Dynamic-irq' is the same as virq... if > > > not, what is a virq? It appears to be something that the hypervisor > > is > > > > aware of as there is a hypercall to bind to one. > > > > They are IRQ sources from the hypervisor (as opposed to from a virtual > > or physical device or another domain). From xen/include/public/xen.h: > > > > > They are used by binding them to an event channel using > > EVTCHNOP_bind_virq, as you've probably noticed. > > Ah. I had them backwards. I was assuming you could say 'when an event > channel fires, call this virq instead' and the virq would jump somewhere > into your idt. > > I'll keep searching for another way... Doesn't windows have some kind of deferred work processing like Linux softirqs or workqueues that you could used to schedule work to happen soon in driver context? That'd enable you to do everything within existing windows APIs. Afraid I've not done any Windows development, either ;-) Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!