[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Multi-Function PCI passthrough not implemented?




> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
> Sent: Wednesday, September 18, 2013 10:08 PM
> To: Wu, Feng
> Cc: Ian Campbell; Antonin Bas; Sander Eikelenboom; StefanoStabellini;
> xen-devel@xxxxxxxxxxxxx
> Subject: RE: [Xen-devel] Multi-Function PCI passthrough not implemented?
> 
> >>> On 18.09.13 at 16:03, "Wu, Feng" <feng.wu@xxxxxxxxx> wrote:
> > Seems the current implementation of xl only supports "*" notation, the
> > following
> > notations mentioned at
> > http://wiki.xen.org/wiki/Bus:Device.Function_(BDF)_Notation
> > are not supported:
> >
> > 0000:00:1d.0-2
> > 0000:00:1d.0,3,5,7
> > 0000:00:1d.2=0-0=2
> > 0000:00:1d.0=3,3=2,5=1,7=0
> 
> Altering function numbers, especially to or from zero, is clearly not
> generally valid: There are devices where the multi-function bits is
> set only for function zero, and hence any other function being made
> (virtual) function zero would result in all other functions not being
> found during the guest OSes bus scan.

We can virtualize the multi-function bit for guests for the multi-function
device. So no matter altering function numbers to or from zero, it is not
a problem for the guest to find the devices when doing the bus scan.

> 
> Jan

Thanks,
Feng

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.