• L
    PCI: Convert pci_info() to QObject · 163c8a59
    Luiz Capitulino 提交于
    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.
    
    As has happended to other complex conversions, it's hard to
    split this commit as part of it are new functions which are
    called by each other.
    
    IMPORTANT: support for printing PCI bridge attached devices
    is NOT part of this commit, it's going to be added by the
    next commit, as it's untested.
    Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    163c8a59
monitor.c 113.9 KB