KVM: PPC: BookE: Add EPR ONE_REG sync
authorAlexander Graf <agraf@suse.de>
Fri, 4 Jan 2013 17:28:51 +0000 (18:28 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 10 Jan 2013 12:42:33 +0000 (13:42 +0100)
commit324b3e63167bce69e6622c2be182595790bf7e38
treeef01feb781df5d54651a1da07ce8a52b481ee6b6
parent1c810636556c8d53a37406b34a64d9b9b0161aa6
KVM: PPC: BookE: Add EPR ONE_REG sync

We need to be able to read and write the contents of the EPR register
from user space.

This patch implements that logic through the ONE_REG API and declares
its (never implemented) SREGS counterpart as deprecated.

Signed-off-by: Alexander Graf <agraf@suse.de>
Documentation/virtual/kvm/api.txt
arch/powerpc/include/uapi/asm/kvm.h
arch/powerpc/kvm/booke.c