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] PCI backend and slot functions

To: Chris <hap10@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PCI backend and slot functions
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Wed, 2 Aug 2006 15:42:12 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Aug 2006 06:38:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44D0A5E7.9010807@xxxxxxxxxxxxxx>
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: <200608021512.04612.Tristan.Gingold@xxxxxxxx> <44D0A5E7.9010807@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mercredi 02 Août 2006 15:17, Chris a écrit :
> Tristan Gingold wrote:
> > Currently PCI slot functions are not virtualized.  When I hide
> > 0000:06:01.1 it appears as 0000:00:00.1 and there is no function 0 for
> > the slot.  This is an issue because on linux/ia64, functions > 0 are not
> > probed if there is no function 0.
> >
> > How is it handled on x86 ?
> >
> > Should I add an option to virtualize slot functions ?
>
> IIUC, when you hide 0000:06:01.1 from dom0 you want that device to
> appear as 0000:06:01.1 to domU.  Have you looked at the PCI Backend Mode
> options in the xenolinux configuration?  Specifically, look at the
> difference between XEN_PCIDEV_BACKEND_VPCI and XEN_PCIDEV_BACKEND_PASS
> to see if either gives what you want.
Yes both works on ia64.

>  I've only tried this on x86, but
> it sounds like what you want, but perhaps there's a bug in the ia64
> implementation (I haven't looked at it yet).
As far as I understand pci backend and frontend work correctly but the pci 
cards probing seems to be different to x86.

Thank you for your comment,
Tristan.

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