]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: add method to test PIR bitmap vector
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Dec 2014 14:08:14 +0000 (09:08 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Jan 2015 21:45:18 +0000 (22:45 +0100)
commit01e11d67b910179c3bfda51c053d0a0220caf185
treec09add5274ab7c53106ffe3c81e6e640e46f7e5e
parent8808df2576a590ee4dcff6f42d7890836976745d
KVM: x86: add method to test PIR bitmap vector

kvm_x86_ops->test_posted_interrupt() returns true/false depending
whether 'vector' is set.

Next patch makes use of this interface.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx.c