]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KVM: fix misreporting of coalesced interrupts by kvm tracer
authorGleb Natapov <gleb@redhat.com>
Thu, 27 Aug 2009 13:25:04 +0000 (16:25 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 15:11:09 +0000 (18:11 +0300)
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/lapic.c

index 5b9d1ae09cadfb02f3aa14aca6906dd698d0ef4e..1ae5ceba7eb2f0f4426f5c1a9c5b8c073375f511 100644 (file)
@@ -376,7 +376,7 @@ static int __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode,
 
                result = !apic_test_and_set_irr(vector, apic);
                trace_kvm_apic_accept_irq(vcpu->vcpu_id, delivery_mode,
-                                         trig_mode, vector, result);
+                                         trig_mode, vector, !result);
                if (!result) {
                        if (trig_mode)
                                apic_debug("level trig mode repeatedly for "