KVM: x86: remove stale comments
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Aug 2016 15:51:29 +0000 (17:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Sep 2016 17:34:29 +0000 (19:34 +0200)
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>
arch/x86/kvm/x86.c

index 19f9f9e05c2a812fd07d07ce0e69223ec2accc25..57ffe78931042c15f35d2e3a977cacd1f43333c1 100644 (file)
@@ -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;