KVM: Avoid using x86_emulate_ctxt.vcpu
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 12:55:40 +0000 (15:55 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:22 +0000 (08:39 -0400)
commit5197b808a7f459f9c7436573c7785ff3c1324c08
tree65e0671f42093a5d8908259760d440f27164eb69
parentbcaf5cc543bdb8f61fc3ce09944e0ecde2966595
KVM: Avoid using x86_emulate_ctxt.vcpu

We can use container_of() instead.

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