KVM: x86 emulator: avoid using ctxt->vcpu in check_perm() callbacks
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 12:01:23 +0000 (15:01 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:07 +0000 (08:39 -0400)
commitfe870ab9ce1c3e64c6d6b6ee3fe53d0d029f1044
treeca9dd92f3ebf8648f69243af199f09bca4ad66b9
parent2953538ebbd95b145bd3629126fe5af61b88be11
KVM: x86 emulator: avoid using ctxt->vcpu in check_perm() callbacks

Unneeded for register access.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c