bonzini / qboot

Minimal x86 firmware for booting Linux kernels
GNU General Public License v2.0
704 stars 118 forks source link

pci: improve PCI bus discovery #15

Closed stefano-garzarella closed 5 years ago

stefano-garzarella commented 6 years ago

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 busses.

Signed-off-by: Stefano Garzarella sgarzare@redhat.com

stefano-garzarella commented 5 years ago

@bonzini I pushed in this PR/branch the fixes that you suggested. If you prefer I can close this PR and open a new one with all commits squashed. (I don't know what is the best workflow with the PR)

bonzini commented 5 years ago

For a small pull request I can use GitHub's squash & merge, so it's okay as is.