spapr-pci: enable adding PHB via -device
commit09aa9a526a86fd2e380e86157c55dfd180661c64
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 13 Jan 2014 09:29:09 +0000 (13 20:29 +1100)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:26 +0000 (5 03:06 +0100)
treea8a096c91be5486e727e35f1789e1cdda159652c
parent6cd8712c5fd74a8ec0aae1b7cc34af026354f06a
spapr-pci: enable adding PHB via -device

Recent changes introduced cannot_instantiate_with_device_add_yet
and removed capability of adding yet another PCI host bridge via
command line for SPAPR platform (POWERPC64 server).

This brings the capability back and puts SPAPR PHB into "bridge"
category.

This is not much use for emulated PHB but it is absolutely required
for VFIO as we put an IOMMU group onto a separate PHB on SPAPR.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_pci.c