]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Set TMR when programming ioapic entry
authorYang Zhang <yang.z.zhang@Intel.com>
Thu, 11 Apr 2013 11:25:14 +0000 (19:25 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Apr 2013 19:32:40 +0000 (16:32 -0300)
commit06929f58869fdbf1cace51db907b7611bbdac1b2
treedea4e116da3ecc13c8b6383ec2145a73480d66f0
parent0439bca615ed4230c3d2b49bb2f5250d140beaeb
KVM: Set TMR when programming ioapic entry

We already know the trigger mode of a given interrupt when programming
the ioapice entry. So it's not necessary to set it in each interrupt
delivery.

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>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/x86.c
virt/kvm/ioapic.c
virt/kvm/ioapic.h