]> 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)
commitebc47dd2c6ee26744c9f5ae505d9d2b2708b60fc
treec09add5274ab7c53106ffe3c81e6e640e46f7e5e
parent51bc84564b5373d821baa6f453c14ee802526432
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