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] Exporting PCI device

To: "Lukas Hejtmanek" <xhejtman@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Exporting PCI device
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 3 Jul 2007 17:03:20 +0800
Delivery-date: Tue, 03 Jul 2007 02:01:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070702151619.GK2083@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace8vAdWmtBdt0WSSHO+aw9cDAKpyAAlC5Xw
Thread-topic: [Xen-devel] Exporting PCI device
>From: Lukas Hejtmanek
>Sent: 2007年7月2日 23:16
>
>Hello,
>
>one question, if I export PCI device from Dom0 to DomU, should the
>device
>possess the same IRQ number in both domains?
>
>For example, I'm playing with an InfiniBand card in DomU and I can see
>that
>lspci -v in Dom0 reports that it has IRQ #16 while in DomU it has IRQ
>#10
>(using also lspci -v). Is this correct and possible behaviour or is it a bug
>that should be fixed?
>
>--

I think they should be same. domU doesn't have MP table and ACPI, 
and thus it then depends on information of interrupt line within PCI 
configuration space. You can see that pciback provides config field 
virtualization for interrupt line by returning dev->irq from dom0. 
Inconsistent irq number between dom0 and domU will confuse Xen 
when translating from vector into irq number.

Thanks,
Kevin
        

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

<Prev in Thread] Current Thread [Next in Thread>