]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Add the deliver posted interrupt algorithm
authorYang Zhang <yang.z.zhang@Intel.com>
Thu, 11 Apr 2013 11:25:15 +0000 (19:25 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Apr 2013 19:32:40 +0000 (16:32 -0300)
commit7d9fa21010ef73fd5471f4ac04b911164918a26e
tree14b3e8c9b4e686ec321967f5b517571e417b83a1
parent526aa994d59bbe18c20e4c7585acb73b3cf08004
KVM: VMX: Add the deliver posted interrupt algorithm

Only deliver the posted interrupt when target vcpu is running
and there is no previous interrupt pending in pir.

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/include/asm/kvm_host.h
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
virt/kvm/kvm_main.c