diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 16373a5bfd01..4f7248ea6caf 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -4365,11 +4365,11 @@ static void emulator_put_fpu(struct x86_emulate_ctxt *ctxt) | |||
4365 | preempt_enable(); | 4365 | preempt_enable(); |
4366 | } | 4366 | } |
4367 | 4367 | ||
4368 | static int emulator_intercept(struct kvm_vcpu *vcpu, | 4368 | static int emulator_intercept(struct x86_emulate_ctxt *ctxt, |
4369 | struct x86_instruction_info *info, | 4369 | struct x86_instruction_info *info, |
4370 | enum x86_intercept_stage stage) | 4370 | enum x86_intercept_stage stage) |
4371 | { | 4371 | { |
4372 | return kvm_x86_ops->check_intercept(vcpu, info, stage); | 4372 | return kvm_x86_ops->check_intercept(emul_to_vcpu(ctxt), info, stage); |
4373 | } | 4373 | } |
4374 | 4374 | ||
4375 | static struct x86_emulate_ops emulate_ops = { | 4375 | static struct x86_emulate_ops emulate_ops = { |