]> 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)
commit526aa994d59bbe18c20e4c7585acb73b3cf08004
treedea4e116da3ecc13c8b6383ec2145a73480d66f0
parentd9a2387992b362372144981dadf347fd4221b711
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