pci: fix bus walk under secondary bus reset
commit929176c3b9f8d5feec9395401f889a3bfb95e816
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Nov 2010 05:23:25 +0000 (24 07:23 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Nov 2010 15:04:59 +0000 (24 17:04 +0200)
treec6453196872085bbd7ed6a44eaccedd16f207e5d
parenta5fce077b134a486794b77b49f4eae1d3c9b960c
pci: fix bus walk under secondary bus reset

Take into account secondary bus reset bit for
bus walk: devices behind a reset bus should not
respond to configuration cycles.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c