spapr: Allow only supported dynamic sysbus devices
commit7da79a167aa11af6fad353bfbc825fbff2db68a2
authorEduardo Habkost <ehabkost@redhat.com>
Sat, 25 Nov 2017 15:16:08 +0000 (25 13:16 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 19 Jan 2018 13:18:51 +0000 (19 11:18 -0200)
tree7cf3c46cc551a0ea4a22cf2a1bf5fc92f1d5cf8d
parent50d01d240f26a43a1d8c0667078bcab7186f2f96
spapr: Allow only supported dynamic sysbus devices

TYPE_SPAPR_PCI_HOST_BRIDGE is the only dynamic sysbus device not
rejected by ppc_spapr_reset(), so it can be the only entry on the
allowed list.

Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20171125151610.20547-5-ehabkost@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ppc/spapr.c