This patch series adds a way for userspace to control which PAPR hypercalls get handled by kernel handlers vs. being sent up to userspace, and then adds an implementation of a new hypercall, H_SET_MODE. This version makes the KVM_CAP_PPC_ENABLE_HCALL capability a VM capability rather than a vcpu capability, and checks that the hcall numbers in the default-enabled list have an in-kernel implementation. The series is against the queue branch of the kvm tree. I would like these patches to go into 3.16 if possible. Paul. Documentation/virtual/kvm/api.txt | 23 ++++++ arch/powerpc/include/asm/hvcall.h | 6 ++ arch/powerpc/include/asm/kvm_book3s.h | 4 + arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h | 2 +- arch/powerpc/kernel/asm-offsets.c | 1 + arch/powerpc/kvm/book3s.c | 5 ++ arch/powerpc/kvm/book3s_hv.c | 130 +++++++++++++++++++++++++++++++- arch/powerpc/kvm/book3s_hv_builtin.c | 13 ++++ arch/powerpc/kvm/book3s_hv_rmhandlers.S | 12 +++ arch/powerpc/kvm/book3s_pr.c | 8 ++ arch/powerpc/kvm/book3s_pr_papr.c | 62 +++++++++++++++ arch/powerpc/kvm/powerpc.c | 47 ++++++++++++ include/uapi/linux/kvm.h | 1 + 14 files changed, 314 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html