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] Multiple PCI bus support

To: "Guy Zana" <guy@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Multiple PCI bus support
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 11 Oct 2007 16:27:07 +0800
Delivery-date: Thu, 11 Oct 2007 01:29:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B2398@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <9392A06CB0FDC847B3A530B3DC174E7B039FC7B9@xxxxxxxxxxxxxxxxxxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F013B2398@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgLH1xV1zNs4KA5SJCsfjI/rio2KwAvco2AAAAF3oA=
Thread-topic: [Xen-devel] Multiple PCI bus support
>From: Guy Zana
>Sent: 2007年10月10日 17:30
>
>Hi,
>
>I saw that Xen support a translation between device/intx to GSI for a
>single PCI bus, I thought about adding multiple PCI bus support but
>disregard the bus information so the same device/intx on different
>buses will be OR wired to the same GSI, sounds reasonable? What
>other things do I need to support in Xen in order to add multiple PCI
>buses, assuming that secondary buses holds only PCI/PCIe devices?
>
>Thanks,
>Guy.
>

GSI wire is platform specific (Qemu as platform) and thus you can 
choose any policy including what you're proposing to Xen side.

However to support multiple PCI buses presented to HVM guest, 
the major work is in the Qemu:
        1. Emulate a virtual PCI-to-PCI bridge
        2. Add _PRT information in ACPI table under bridge node, which 
stays consistent to Xen's wire logic

If you want PCIe device to be seen as PCIe to HVM guest, you need to 
do more:
        3. Change above bridge to PCI-to-PCIe bridge (any standard spec?)
                (Then advanced PCIe feature like AER/ASPM can't be utilized)

But, any reason that assigned devices can't stay with current single bus 
model? :-)

Thanks,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>