David Gibson
e492dc5a26
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>
2017-12-05 19:13:45 +02:00
..
2017-09-08 16:15:17 +03:00
2016-10-04 13:28:07 +01:00
2017-10-12 13:20:07 +01:00
2017-05-19 10:48:54 +02:00
2017-02-28 20:40:36 +01:00
2017-07-17 13:36:08 +01:00
2016-10-04 13:28:09 +01:00
2016-06-27 13:15:06 +10:00
2017-01-27 18:07:59 +01:00
2016-07-12 16:20:46 +02:00
2017-01-24 23:26:52 +03:00
2017-02-28 17:10:00 +00:00
2017-09-08 09:30:55 +10:00
2017-12-01 18:28:15 +02:00
2017-10-12 12:10:37 +02:00
2017-06-23 11:51:50 +02:00
2017-09-21 16:29:27 +01:00
2016-05-18 15:04:27 +03:00
2017-04-26 12:41:55 +10:00
2017-06-20 14:31:32 +02:00
2016-10-04 10:00:25 +02:00
2017-02-16 14:06:56 +01:00
2017-09-14 15:52:10 +01:00
2017-10-27 16:04:28 +02:00
2017-11-20 13:47:49 +00:00
2017-10-31 17:25:36 +00:00
2017-10-15 05:54:40 +03:00
2017-12-05 19:13:45 +02:00
2017-12-05 19:13:45 +02:00
2017-11-14 11:12:42 +11:00
2017-10-30 09:03:45 +01:00
2017-10-31 17:25:36 +00:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-12-05 19:13:45 +02:00
2017-10-31 17:25:37 +00:00
2017-09-21 16:36:56 +01:00
2017-09-21 16:36:56 +01:00
2016-07-12 16:19:16 +02:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2017-07-14 12:04:41 +02:00
2017-12-01 19:05:58 +02:00
2017-09-04 15:21:54 +01:00
2017-12-05 19:13:45 +02:00
2017-11-16 17:46:53 +02:00
2017-01-27 18:07:59 +01:00
2017-11-20 11:08:00 +08:00
2017-04-24 12:32:12 +01:00
2017-09-04 15:21:53 +01:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-11-15 17:20:37 +02:00
2017-06-01 18:49:22 +02:00
2017-01-27 15:23:29 -08:00
2014-10-23 16:41:25 +02:00
2017-02-21 23:47:40 +00:00
2017-09-08 16:15:17 +03:00
2016-07-12 16:20:46 +02:00
2017-10-16 21:09:15 +03:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2017-07-11 17:44:27 +03:00
2017-10-18 10:34:17 +02:00
2014-02-14 21:12:04 +01:00
2017-12-05 19:13:45 +02:00
2017-01-27 15:20:21 +00:00
2017-01-27 15:20:21 +00:00
2016-07-12 16:20:46 +02:00
2016-09-27 17:03:34 -03:00
2017-02-23 15:40:19 +01:00