hw/pci: extend PCI config access to support devices behind PXB
commit09e5b81922179b6c52b42fd27587e64b474036c7
authorMarcel Apfelbaum <marcel@redhat.com>
Tue, 2 Jun 2015 11:23:00 +0000 (2 14:23 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jun 2015 16:19:17 +0000 (3 18:19 +0200)
tree79e45398642230b70393ee3ca3c02ffaa167466e
parentca6c18556c5e9c4aac12489b960c3e4601e183bf
hw/pci: extend PCI config access to support devices behind PXB

PXB buses are assumed to be children of bus 0. Look for them
while scanning the buses.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
hw/pci/pci.c