WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen, IRQ-sharing and PCI passthrough

To: Jan Beulich <JBeulich@xxxxxxxxxx>, Florian Wagner <f_wagner@xxxxxxxxxx>
Subject: Re: [Xen-devel] Xen, IRQ-sharing and PCI passthrough
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 07 Jul 2009 08:39:22 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 07 Jul 2009 00:39:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A53162C02000078000091BE@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn+1Tbq6qgRn2FyT+GQgTOXakHvyQAANQ3Y
Thread-topic: [Xen-devel] Xen, IRQ-sharing and PCI passthrough
User-agent: Microsoft-Entourage/12.19.0.090515
On 07/07/2009 08:32, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>>> Florian Wagner <f_wagner@xxxxxxxxxx> 07.07.09 08:19 >>>
>> Is there some other way to fix this than making sure the cards don't
>> share IRQs (which is quite a hassle when building a significant number
>> of machines with this configuration but with slightly different
>> hardware)? A fix from a newer Xen release we could backport to our
>> Debian kernel perhaps?
> 
> Assuming your kernel has a call to irq_ignore_unhandled() out of
> note_interrupt(), there's nothing but using hardware's help (i.e. VT-d
> interrupt remapping) to get this addressed: The pv passthrough
> mechanism assumes that guests you assign physical devices to are well
> behaved, and your guest isn't (it fails to disable the interrupt at the
> device).

Another thought is that the toolstack should be trying to reset the device
during domain destroy. I'm not certain that's always possible and always
done though (HVM passthru is better tested than PV passthru).

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel