Skip to content

Commit

Permalink
KVM: x86: remove stale comments
Browse files Browse the repository at this point in the history
handle_external_intr does not enable interrupts anymore, vcpu_enter_guest
does it after calling guest_exit_irqoff.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Paolo Bonzini committed Sep 7, 2016
1 parent bbe41b9 commit 1a69823
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -6700,7 +6700,6 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu)

kvm_put_guest_xcr0(vcpu);

/* Interrupt is enabled by handle_external_intr() */
kvm_x86_ops->handle_external_intr(vcpu);

++vcpu->stat.exits;
Expand Down

0 comments on commit 1a69823

Please sign in to comment.