aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/vmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 469787ce93f7..85f4fd541756 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3162,7 +3162,7 @@ static const int kvm_vmx_max_exit_handlers =
3162 * The guest has exited. See if we can fix it or if we need userspace 3162 * The guest has exited. See if we can fix it or if we need userspace
3163 * assistance. 3163 * assistance.
3164 */ 3164 */
3165static int kvm_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) 3165static int vmx_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
3166{ 3166{
3167 u32 exit_reason = vmcs_read32(VM_EXIT_REASON); 3167 u32 exit_reason = vmcs_read32(VM_EXIT_REASON);
3168 struct vcpu_vmx *vmx = to_vmx(vcpu); 3168 struct vcpu_vmx *vmx = to_vmx(vcpu);
@@ -3681,7 +3681,7 @@ static struct kvm_x86_ops vmx_x86_ops = {
3681 .tlb_flush = vmx_flush_tlb, 3681 .tlb_flush = vmx_flush_tlb,
3682 3682
3683 .run = vmx_vcpu_run, 3683 .run = vmx_vcpu_run,
3684 .handle_exit = kvm_handle_exit, 3684 .handle_exit = vmx_handle_exit,
3685 .skip_emulated_instruction = skip_emulated_instruction, 3685 .skip_emulated_instruction = skip_emulated_instruction,
3686 .patch_hypercall = vmx_patch_hypercall, 3686 .patch_hypercall = vmx_patch_hypercall,
3687 .get_irq = vmx_get_irq, 3687 .get_irq = vmx_get_irq,