spapr: move memory hotplug support check into spapr_memory_pre_plug()
commit4e8a01bdb20557ee4f5bf6f86890d2b95fa2a7fb
authorDavid Hildenbrand <david@redhat.com>
Fri, 8 Jun 2018 12:48:13 +0000 (8 14:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Jun 2018 00:44:36 +0000 (12 10:44 +1000)
treeb5c78636c38e24ce6d6c97405a493bf9162e0d28
parent81985f3be9679b8770f46f78d475ff53a2e8cdbb
spapr: move memory hotplug support check into spapr_memory_pre_plug()

Let's finish cleaning up the hotplug handler. This check can be
performed in the pre_plug code as the very first thing.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c