pci: Fold host_buses list into PCIHostState functionality
commit7588e2b0559ae72d3c2952c7807fc05c03099970
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 6 Jun 2013 08:48:54 +0000 (6 18:48 +1000)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 7 Jul 2013 20:10:57 +0000 (7 23:10 +0300)
tree76ebe67b57d80d14b4fc77a7725700940120db03
parent2b8cc89a5c4a8bccbef8c6862bae7371afbf3e76
pci: Fold host_buses list into PCIHostState functionality

The host_buses list is an odd structure - a list of pointers to PCI root
buses existing in parallel to the normal qdev tree structure.  This patch
removes it, instead putting the link pointers into the PCIHostState
structure, which have a 1:1 relationship to PCIHostBus structures anyway.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c
include/hw/pci/pci_host.h