diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2013-06-06 18:48:47 +1000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-07-07 23:10:07 +0300 |
commit | 1ef7a2a2afedbba47e06af5081a8b4bf6dc1cf71 (patch) | |
tree | fbb429cd5213d47dce1a44ae69a3b4f7a58adaf5 /qom | |
parent | 6ac363b50c569815786a795d806e068b3f6a07eb (diff) | |
download | qemu-1ef7a2a2afedbba47e06af5081a8b4bf6dc1cf71.tar.gz qemu-1ef7a2a2afedbba47e06af5081a8b4bf6dc1cf71.tar.bz2 qemu-1ef7a2a2afedbba47e06af5081a8b4bf6dc1cf71.zip |
pci: Abolish pci_find_root_bus()
pci_find_root_bus() takes a domain parameter. Currently PCI root buses
with domain other than 0 can't be created, so this is more or less a long
winded way of retrieving the main PCI root bus. Numbered domains don't
actually properly cover the (non x86) possibilities for multiple PCI root
buses, so this patch for now enforces the domain == 0 restriction in other
places to replace pci_find_root_bus() with an explicit
pci_find_primary_bus().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions