summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorYang Zhang <yang.z.zhang@Intel.com>2013-04-11 19:21:35 +0800
committerMarcelo Tosatti <mtosatti@redhat.com>2013-04-15 23:20:33 -0300
commit1fcc7890dbf32571c25278803ee19182c801c006 (patch)
treecf53a1b42ce73b3b57e4d3f7639102df13bff067 /arch/x86/kvm
parentc0d1c770c05ac7051df86914f9627b68f29c1d67 (diff)
downloadlinux-1fcc7890dbf32571c25278803ee19182c801c006.tar.gz
linux-1fcc7890dbf32571c25278803ee19182c801c006.tar.bz2
linux-1fcc7890dbf32571c25278803ee19182c801c006.zip
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')
-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)
trigger_mode = IOAPIC_LEVEL_TRIG;
else
trigger_mode = IOAPIC_EDGE_TRIG;
- kvm_ioapic_update_eoi(apic->vcpu->kvm, vector, trigger_mode);
+ kvm_ioapic_update_eoi(apic->vcpu, vector, trigger_mode);
}
}