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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] PCI passthrough w/ shared IRQ in xen/master

To: "Mark Hurenkamp" <mark.hurenkamp@xxxxxxxxx>
Subject: Re: [Xen-devel] PCI passthrough w/ shared IRQ in xen/master
From: Michael D Labriola <mlabriol@xxxxxxxx>
Date: 2010年2月19日 11:24:35 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年2月19日 08:25:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <edac2478c2d590b412002a436ef846dc.squirrel@xxxxxxxxxxxxxxxxx>
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
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx wrote on 02/19/2010 11:15:21 AM:
> > Is this a bug in something (kernel or hypervisor) or a known 
limitation
> > with pci passthrough... I sure hope it's a bug, cause I need to fill 
all
> > my PCI slots with cards that are going to get passed into different
> > domUs... :-/
>
> I'm also very curious if this will be resolved at some point, so far 
I've
> run into similar problems using both 3.4-testing as well as 4.0.
>
> When you do passthrough the device which has a shared IRQ, the domU will
> load the appropriate driver, but Xen refuses to assign the IRQ to the
> domU.
> In your case (and mine as well), the driver in domU is not aware that it
> has no IRQ, and thus starts generating interupts which are then caught 
by
> Dom0 as spurious interrupts, in my case even causing Dom0 to crash at
> times.
This actually sounds like 2 bugs when you describe it like that:
1. Can't assign shared IRQ PCI device to domU
2. Dom0 commit suicide when it gets spurious interrupts from a shared IRQ.
>
> My way around this, is to try and move the other device IRQs out of the
> way (the ones that matter seem to be MSI capable), but i understand 
that's
> not always possible.
> If your other device is PCI based, and has no MSI, then for now I'm
> affraid you're out of luck...
The IRQ in question is shared with these devices (along with my NIC):
USB Controller
IDE Interface
FireWire
I don't really know what MSI is... I'm assuming I'm out of luck, though.
>
> Like you, I do hope this is considered a bug that will be fixed in a 
later
> release... anyone know what the xen policy is on this?
Well, if somebody wants to help with the kernel code, I can test it.
-Mike
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] PCI passthrough w/ shared IRQ in xen/master , Mark Hurenkamp
Next by Date: Re: [Xen-devel] PCI passthrough w/ shared IRQ in xen/master , Keir Fraser
Previous by Thread: Re: [Xen-devel] PCI passthrough w/ shared IRQ in xen/master , Mark Hurenkamp
Next by Thread: Re: [Xen-devel] PCI passthrough w/ shared IRQ in xen/master , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /