KVM: VMX: Use posted interrupt to deliver virtual interrupt
authorYang Zhang <yang.z.zhang@Intel.com>
Thu, 11 Apr 2013 11:25:16 +0000 (19:25 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Apr 2013 19:32:41 +0000 (16:32 -0300)
commit5a71785dde307f6ac80e83c0ad3fd694912010a1
treecb765262ff74e583d314ef3f14b4f41a506b2cb2
parenta20ed54d6e470bf0d28921b7aadb6ca0da0ff0c3
KVM: VMX: Use posted interrupt to deliver virtual interrupt

If posted interrupt is avaliable, then uses it to inject virtual
interrupt to guest.

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/vmx.c
arch/x86/kvm/x86.c