aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorYang Zhang <yang.z.zhang@Intel.com>2013-04-11 07:21:35 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2013-04-15 22:20:33 -0400
commit1fcc7890dbf32571c25278803ee19182c801c006 (patch)
treecf53a1b42ce73b3b57e4d3f7639102df13bff067 /arch/x86/kvm/lapic.c
parentc0d1c770c05ac7051df86914f9627b68f29c1d67 (diff)
KVM: Add vcpu info to ioapic_update_eoi()
Add vcpu info to ioapic_update_eoi, so we can know which vcpu issued this EOI. Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> Reviewed-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 e2274745ab3d..3e22536a7031 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -739,7 +739,7 @@ static void kvm_ioapic_send_eoi(struct kvm_lapic *apic, int vector)
739 trigger_mode = IOAPIC_LEVEL_TRIG; 739 trigger_mode = IOAPIC_LEVEL_TRIG;
740 else 740 else
741 trigger_mode = IOAPIC_EDGE_TRIG; 741 trigger_mode = IOAPIC_EDGE_TRIG;
742 kvm_ioapic_update_eoi(apic->vcpu->kvm, vector, trigger_mode); 742 kvm_ioapic_update_eoi(apic->vcpu, vector, trigger_mode);
743 } 743 }
744} 744}
745 745