KVM: PPC: Load VCPU for register fetching
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:23 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:59 +0000 (12:16 +0300)
commita56cf347c21b21d52db127672cf1edf5dd724a4b
tree33a92288ca0325d821289d49c38e95ff2bc664ca
parentc2453693d41f31dae1b4d39b2d59d9a9c6dcb837
KVM: PPC: Load VCPU for register fetching

When trying to read or store vcpu register data, we should also make
sure the vcpu is actually loaded, so we're 100% sure we get the correct
values.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s.c