aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-08-19 17:51:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-09-07 19:34:29 +0200
commit1a6982353db90939fc12bbd11c29fbe3c19a2fd0 (patch)
treea554ca1390feb9896cc001847db8ae04d346a50a
parentKVM: x86: ratelimit and decrease severity for guest-triggered printk (diff)
downloadlinux-dev-1a6982353db90939fc12bbd11c29fbe3c19a2fd0.tar.xz
linux-dev-1a6982353db90939fc12bbd11c29fbe3c19a2fd0.zip
KVM: x86: remove stale comments
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>
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 19f9f9e05c2a..57ffe7893104 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -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;