KVM: PPC: Book3S HV: kvmppc_host_rm_ops - handle offlining CPUs
authorSuresh Warrier <warrier@linux.vnet.ibm.com>
Thu, 17 Dec 2015 20:59:08 +0000 (14:59 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 29 Feb 2016 05:25:06 +0000 (16:25 +1100)
commit6f3bb80944148012cbac1f98da249f591cbcae43
treedb2ac55038feb5156de37c0bfaaf33a7366600c2
parentb8e6a87c82927ed9ccf0f3ee42946a41cb9d75fe
KVM: PPC: Book3S HV: kvmppc_host_rm_ops - handle offlining CPUs

The kvmppc_host_rm_ops structure keeps track of which cores are
are in the host by maintaining a bitmask of active/runnable
online CPUs that have not entered the guest. This patch adds
support to manage the bitmask when a CPU is offlined or onlined
in the host.

Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kvm/book3s_hv.c