commit | 43b5bc4085da70469fdb1d0902bc4516304540d1 | [log] [tgz] |
---|---|---|
author | Stefano Garzarella <stefanogarzarella@gmail.com> | Tue Dec 11 18:25:55 2018 +0100 |
committer | Paolo Bonzini <bonzini@gnu.org> | Tue Dec 11 18:25:55 2018 +0100 |
tree | 3c7e1261de32c7be5fa5395234b136b21f90484a | |
parent | b3131e438e50861b75c03c8dbc808b28c15f3410 [diff] |
pci: improve PCI bus discovery When we discovery devices on a PCI BUS, we block bridges, and we use PCI_SECONDARY_BUS to create a linked list of bridges to recursively setup new buses. This avoids a second visit of all the addresses on the bus. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>