PCI: do_pci_info(): PCI bridge devices support
commitd5e4acf7dfa1786c3825632362f5a73631d1eb55
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 21 Jan 2010 21:15:41 +0000 (21 19:15 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 21:42:02 +0000 (26 15:42 -0600)
tree880f4d310ff7e107091016e72f77991a310454fe
parent163c8a59f6f9c370b74a81856194757e3773b358
PCI: do_pci_info(): PCI bridge devices support

This commit completes the do_pci_info() conversion to
QObject by adding support to PCI bridge devices.

This is done by recursively adding devices in the
"pci_bridge" key.

IMPORTANT: This code is being added separately because I could
NOT test it properly. According to Michael Tsirkin, it depends
on ultrasparc and it would take time to do the proper setup.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c