On 10/15/11 18:25, Kevin O'Connor wrote:
This main patch in this series is patch 2 - replacement of the recursive scan with a linear scan. The other patches are just cosmetic changes.
Looks sane at a quick glance.
Gerd - can you take a look at patch 2. Also, what's your test case for confirming multiple bus initialization? The standard qemu/kvm only has one host bus.
That is a bit tricky. Early revisions of the code I've tested with Isaku's q35 patches which have quite a bunch of PCI bridges (pci expresss upstream + down stream ports, standard dec bridge, ...) and even bridges behind bridges.
Isaku, what is the state of the q35 work btw? I havn't seen any pci-e & q35 patches on qemu-devel for quite a while. It also would be nice to have a recent version of the q35 patches to test this patch set.
I've also used with mst's patch which adds a standard pci bridge to qemu (patch attached) to run tests.
cheers, Gerd