From: Kieran Mansley Subject: Re: MSI-X interrupts to guests Date: Wed, 15 Apr 2009 17:26:48 +0100 Message-ID: <1239812808.4306.50.camel@moonstone.uk.level5networks.com> References: <1239810184.4306.38.camel@moonstone.uk.level5networks.com> <49E6202E.76EA.0078.0@novell.com> <1239811923.4306.43.camel@moonstone.uk.level5networks.com> <49E625BC.76EA.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49E625BC.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 17:21 +0100, Jan Beulich wrote: > >>> Kieran Mansley 15.04.09 18:12 >>> > >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? > > In general this should be taken care of by the code in drivers/pci/msi-xen.c, > unless of course you're trying to pass through less than a full PCI device. Exactly right: I'm not trying to pass through the whole device, just get the interrupt for a queue to the guest. Thanks Kieran