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
..
2013-06-07 14:55:33 +02:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2015-03-01 12:33:22 +01:00
2015-04-30 16:05:48 +03:00
2015-06-03 18:19:16 +02:00
2015-03-10 08:15:33 +03:00
2015-01-15 10:44:13 +03:00
2014-10-23 16:41:25 +02:00
2014-10-24 12:19:11 +01:00
2015-05-12 09:01:51 +01:00
2015-06-01 14:18:55 +02:00
2014-05-28 17:36:21 +02:00
2013-05-01 20:55:21 +04:00
2014-11-11 14:50:10 +00:00
2015-04-30 16:05:48 +03:00