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. v1 -> v2: - do paranthesis - add patch to rename internal old KVM_REG constants - fix comments Alex Alexander Graf (3): KVM: PPC: Add generic single register ioctls KVM: PPC: Add support for explicit HIOR setting KVM: PPC: Rename MMIO register identifiers 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 | 14 ++++++---- 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_paired_singles.c | 9 ++++-- arch/powerpc/kvm/book3s_pr.c | 38 ++++++++++++++++++++++++++- arch/powerpc/kvm/booke.c | 10 +++++++ arch/powerpc/kvm/powerpc.c | 34 ++++++++++++++++++------ include/linux/kvm.h | 36 ++++++++++++++++++++++++++ 10 files changed, 203 insertions(+), 20 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