[RFC v0 PATCH] kvm: powerpc: Allow reuse of vCPU object

2015-03-08 Thread bharata . rao
From: Bharata B Rao Since KVM isn't equipped to handle closure of vcpu fd from userspace(QEMU) correctly, certain work arounds have to be employed to allow reuse of vcpu array slot in KVM during cpu hot plug/unplug from guest. One such proposed workaround is to park the vcpu fd in userspace durin

[PATCH v2 1/1] pseries: Make CPU hotplug path endian safe

2014-09-15 Thread bharata . rao
From: Bharata B Rao - ibm,rtas-configure-connector should treat the RTAS data as big endian. - Treat ibm,ppc-interrupt-server#s as big-endian when setting smp_processor_id during hotplug. Signed-off-by: Bharata B Rao Signed-off-by: Thomas Falcon --- Changes in v2: - Don't convert drc_index

[PATCH] pseries: Make CPU hotplug path endian safe

2014-09-05 Thread bharata . rao
From: Bharata B Rao - ibm,rtas-configure-connector should treat the RTAS data as big endian. - Treat ibm,ppc-interrupt-server#s as big-endian when setting smp_processor_id during hotplug. Signed-off-by: Bharata B Rao --- arch/powerpc/platforms/pseries/dlpar.c | 10 +- arch/powe