Marcel Apfelbaum ce6a28ee05 hw/pci: made pci_bus_is_root a PCIBusClass method
Refactoring it as a method of PCIBusClass will allow
different implementations for subclasses.

Removed the assumption that the root bus does not
have a parent device because is specific only
to the default class implementation.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2015-06-03 18:19:16 +02:00
..
2015-05-29 12:53:12 +02:00
2015-05-31 20:29:02 +02:00
2015-02-06 16:11:38 +00:00
2015-04-30 16:05:48 +03:00
2015-05-11 14:49:03 +01:00
2015-05-11 08:59:07 -04:00
2015-06-03 18:19:15 +02:00
2015-05-29 11:43:29 +02:00
2015-05-27 17:52:03 +02:00
2015-04-30 16:05:48 +03:00
2015-02-16 15:07:19 +00:00
2015-02-05 17:16:14 +01:00