spapr: Prevent boot CPU core removal
commit62be8b044adf47327ebefdefb25f28a40316ebd0
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Wed, 27 Jul 2016 05:14:42 +0000 (27 10:44 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 29 Jul 2016 02:02:31 +0000 (29 12:02 +1000)
tree2240ff0961d54240786ce98dfe9a474960da4d9a
parentbcd510b141eee18b7fcd445f8c9ea3be347d16fc
spapr: Prevent boot CPU core removal

Boot CPU is assumed to be always present in QEMU code. So
until that assumptions are gone, deny removal request.
In another words, QEMU won't support boot CPU core hot-unplug.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
[dwg: Tweaked error message for clarity]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_cpu_core.c