This is a revised version of the ONE_REG interface. The main difference to v1 is that we now encode the register size in the constant, making it very unambiguous what size it is. That way we can just take a pointer from user space to write it to. Thanks a lot to Scott for reviewing the previous patches and pointing out some design issues before it actually lands upstream. Alex Alexander Graf (2): KVM: PPC: Add generic single register ioctls KVM: PPC: Add support for explicit HIOR setting Paul Mackerras (1): KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific code Documentation/virtual/kvm/api.txt | 41 +++++++++++++++++++++++++++++++++ arch/powerpc/include/asm/kvm.h | 2 + arch/powerpc/include/asm/kvm_book3s.h | 2 + arch/powerpc/include/asm/kvm_ppc.h | 3 ++ arch/powerpc/kvm/book3s_hv.c | 36 +++++++++++++++++++++++++++++ arch/powerpc/kvm/book3s_pr.c | 38 +++++++++++++++++++++++++++++- arch/powerpc/kvm/booke.c | 10 ++++++++ arch/powerpc/kvm/powerpc.c | 26 +++++++++++++++++++++ include/linux/kvm.h | 36 +++++++++++++++++++++++++++++ 9 files changed, 192 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