From: Kieran Mansley Subject: Re: MSI-X interrupts to guests Date: Wed, 15 Apr 2009 17:12:03 +0100 Message-ID: <1239811923.4306.43.camel@moonstone.uk.level5networks.com> References: <1239810184.4306.38.camel@moonstone.uk.level5networks.com> <49E6202E.76EA.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49E6202E.76EA.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel , espen.skoglund@netronome.com List-Id: xen-devel@lists.xenproject.org On Wed, 2009-04-15 at 16:58 +0100, Jan Beulich wrote: > >>> Kieran Mansley 15.04.09 17:43 >>> > > rc = HYPERVISOR_physdev_op(PHYSDEVOP_map_pirq, &map_irq); > > But you don't do this yourself, you get this done for you, right? No, I was doing it myself. What approach would you recommend? > >This call succeeds. dom0 then tells the guest the value of map_irq.pirq > >(which seems to have a sensible value given the other interrupts mapped > >to that domain) that it gets back from this hypercall, and the guest > >tries to call request_irq() using that value. The call to request_irq() > >returns -38 (ENOSYS). > > > >Any ideas what the problem could be? I'm happy to investigate. > > What kernel version is it that's running in the guest? Sounds like some > preparatory step might be missing the particular kernel version you got. c/s 855 from the linux-2.6.18-xen.hg tree. Thanks Kieran