svn commit: r242170 - projects/bhyve/usr.sbin/bhyve

Neel Natu neelnatu at gmail.com
Sat Oct 27 16:44:07 UTC 2012


Hi Eitan,

On Oct 27, 2012, at 8:52 AM, Eitan Adler <eadler at freebsd.org> wrote:

> On 26 October 2012 22:39, Neel Natu <neel at freebsd.org> wrote:
>> Author: neel
>> Date: Sat Oct 27 02:39:08 2012
>> New Revision: 242170
>> URL: http://svn.freebsd.org/changeset/base/242170
>> 
>> Log:
>>  Ignore PCI configuration accesses to all bus numbers other than PCI bus 0.
> 
> I'm sorry this is a silly question, but why?
> 

At the moment all the emulated PCI devices are on bus 0.

We don't present a PCI device tree hierarchy to the guest with bridges and end-point devices,  so everything hangs off bus 0.

Prior to this change any access to a PCI bus != 0 got aliased to devices on bus 0 which is obviously wrong and tripped up drivers like the QPI driver which start probing backwards from bus 255.

Best
Neel

> 
> -- 
> Eitan Adler
> Source, Ports, Doc committer
> Bugmeister, Ports Security teams


More information about the svn-src-projects mailing list