diff options
author | Alexander Graf <agraf@suse.de> | 2011-09-14 10:02:41 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-03-05 14:52:40 +0200 |
commit | e24ed81fedd551e80378be62fa0b0532480ea7d4 (patch) | |
tree | 254bcf7fbe858bc75087432667c7409e58b35575 /arch/powerpc/include/asm/kvm_book3s.h | |
parent | 6b75e6bfef7ba108ac3df0d430d80dea68fde4bf (diff) |
KVM: PPC: Add generic single register ioctls
Right now we transfer a static struct every time we want to get or set
registers. Unfortunately, over time we realize that there are more of
these than we thought of before and the extensibility and flexibility of
transferring a full struct every time is limited.
So this is a new approach to the problem. With these new ioctls, we can
get and set a single register that is identified by an ID. This allows for
very precise and limited transmittal of data. When we later realize that
it's a better idea to shove over multiple registers at once, we can reuse
most of the infrastructure and simply implement a GET_MANY_REGS / SET_MANY_REGS
interface.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s.h')
0 files changed, 0 insertions, 0 deletions