diff options
author | Feng Wu <feng.wu@intel.com> | 2016-01-25 16:53:33 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-09 13:24:40 +0100 |
commit | 520040146a0af36f7875ec06b58f44b19a0edf53 (patch) | |
tree | c6159cfc984ec0e77e7957c87ccc7def68e9ffa8 /arch/x86/kvm/x86.h | |
parent | 23a1c2579b575b228a6c685dfe93f296d3d5e0e1 (diff) | |
download | linux-520040146a0af36f7875ec06b58f44b19a0edf53.tar.gz linux-520040146a0af36f7875ec06b58f44b19a0edf53.tar.bz2 linux-520040146a0af36f7875ec06b58f44b19a0edf53.zip |
KVM: x86: Use vector-hashing to deliver lowest-priority interrupts
Use vector-hashing to deliver lowest-priority interrupts, As an
example, modern Intel CPUs in server platform use this method to
handle lowest-priority interrupts.
Signed-off-by: Feng Wu <feng.wu@intel.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
-rw-r--r-- | arch/x86/kvm/x86.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h index 34f416427143..007940faa5c6 100644 --- a/arch/x86/kvm/x86.h +++ b/arch/x86/kvm/x86.h @@ -179,6 +179,7 @@ int kvm_mtrr_set_msr(struct kvm_vcpu *vcpu, u32 msr, u64 data); int kvm_mtrr_get_msr(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata); bool kvm_mtrr_check_gfn_range_consistency(struct kvm_vcpu *vcpu, gfn_t gfn, int page_num); +bool kvm_vector_hashing_enabled(void); #define KVM_SUPPORTED_XCR0 (XFEATURE_MASK_FP | XFEATURE_MASK_SSE \ | XFEATURE_MASK_YMM | XFEATURE_MASK_BNDREGS \ |