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)
commit7c6a98dfa1ba9dc64a62e73624ecea9995736bbd
treec09add5274ab7c53106ffe3c81e6e640e46f7e5e
parentb4eef9b36db461ca44832226fbca614db58c0c33
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