OSDN Git Service

spapr: add "stop-self" RTAS call required to support hot CPU unplug
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 30 Aug 2013 06:11:56 +0000 (16:11 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 2 Sep 2013 08:06:42 +0000 (10:06 +0200)
commit59760f2dba6b5729bbbef113c0dc142bf9ec94d3
tree872c0942436b0d19f92a91b592db1a3f89a47c06
parent7bb438b6a102766ac58e1a2981f8749e4515aa01
spapr: add "stop-self" RTAS call required to support hot CPU unplug

PAPR+ requires two RTAS calls to be supported by the hypervisor in
order to allow hotplugging VCPUs from the guest. The "start-cpu" RTAS
call was already there but "stop-self" was not.

This adds the "stop-self" RTAS call.

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