aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-11-29 19:46:28 +1100
committerMichael S. Tsirkin <mst@redhat.com>2017-12-05 19:13:45 +0200
commite492dc5a267e2236b93b8b7192fedd840ef34dc9 (patch)
tree30fc923126d53e8f09753fd9322723975955ec4c /hw/virtio
parentfd56e0612b6454a282fa6a953fdb09281a98c589 (diff)
downloadqemu-e492dc5a267e2236b93b8b7192fedd840ef34dc9.zip
qemu-e492dc5a267e2236b93b8b7192fedd840ef34dc9.tar.gz
qemu-e492dc5a267e2236b93b8b7192fedd840ef34dc9.tar.bz2
pci: Eliminate pci_find_primary_bus()
pci_find_primary_bus() only has one user, in pc_xen_hvm_init(). That's inside the machine construction code, so it already has easy access to the machine's primary PCI bus. Get it directly, and thereby remove pci_find_primary_bus(). This removes one of only a handful of users of the ugly pci_host_bridges global. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'hw/virtio')
0 files changed, 0 insertions, 0 deletions