diff options
author | Yang Zhang <yang.z.zhang@Intel.com> | 2013-04-11 19:21:35 +0800 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-04-15 23:20:33 -0300 |
commit | 1fcc7890dbf32571c25278803ee19182c801c006 (patch) | |
tree | cf53a1b42ce73b3b57e4d3f7639102df13bff067 /arch | |
parent | c0d1c770c05ac7051df86914f9627b68f29c1d67 (diff) | |
download | linux-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')
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
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); } } |