aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-08-27 09:25:04 -0400
committerAvi Kivity <avi@redhat.com>2009-09-10 11:11:09 -0400
commit4da748960a6bd7b1e123e01bfa8f2dbcb6be209e (patch)
treec97e1303a0690caba07acc950647cf709d852206 /arch/x86/kvm/lapic.c
parente3904e6ed0d525e383eb961ed1da0596a10e5387 (diff)
KVM: fix misreporting of coalesced interrupts by kvm tracer
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 5b9d1ae09cad..1ae5ceba7eb2 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -376,7 +376,7 @@ static int __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode,
376 376
377 result = !apic_test_and_set_irr(vector, apic); 377 result = !apic_test_and_set_irr(vector, apic);
378 trace_kvm_apic_accept_irq(vcpu->vcpu_id, delivery_mode, 378 trace_kvm_apic_accept_irq(vcpu->vcpu_id, delivery_mode,
379 trig_mode, vector, result); 379 trig_mode, vector, !result);
380 if (!result) { 380 if (!result) {
381 if (trig_mode) 381 if (trig_mode)
382 apic_debug("level trig mode repeatedly for " 382 apic_debug("level trig mode repeatedly for "