[Qemu-devel] Re: [PATCH 3/5] PCI: Convert pci_info() to QObject

2010-01-07 Thread Luiz Capitulino
On Thu, 07 Jan 2010 09:19:28 -0600 Anthony Liguori wrote: > > -static void pci_info_device(PCIBus *bus, PCIDevice *d) > > +static void pci_for_each_device_under_bus(PCIBus *bus, > > + void (*fn)(PCIBus *b, PCIDevice > > *d)) > > { > > -Monitor *mon

[Qemu-devel] Re: [PATCH 3/5] PCI: Convert pci_info() to QObject

2010-01-07 Thread Anthony Liguori
On 01/05/2010 02:34 PM, Luiz Capitulino wrote: The returned QObject is a QList of all buses. Each bus is represented by a QDict, which has a key with a QList of all PCI devices attached to it. Each device is represented by a QDict. IMPORTANT: support for printing PCI bridge information and its d