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>
Showing
- arch/x86/kvm/lapic.c 9 additions, 6 deletionsarch/x86/kvm/lapic.c
- arch/x86/kvm/lapic.h 1 addition, 0 deletionsarch/x86/kvm/lapic.h
- arch/x86/kvm/x86.c 4 additions, 1 deletionarch/x86/kvm/x86.c
- virt/kvm/ioapic.c 9 additions, 3 deletionsvirt/kvm/ioapic.c
- virt/kvm/ioapic.h 2 additions, 1 deletionvirt/kvm/ioapic.h
Loading
Please register or sign in to comment