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-31 20:29:02 +02:00
2013-06-03 11:37:44 +02:00
2013-04-08 18:13:10 +02:00
2015-01-26 20:25:52 +02:00
2015-02-16 17:30:14 +01:00
2013-04-08 18:13:10 +02:00