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: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: Re: [Xen-devel] PCI backend and slot functions
From: Chris <hap10@xxxxxxxxxxxxxx>
Date: Wed, 02 Aug 2006 09:17:27 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Aug 2006 06:17:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200608021512.04612.Tristan.Gingold@xxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
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.  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).

-Chris

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