diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-15 13:16:36 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-18 12:30:56 -0500 |
commit | 8a2897853c53fd3d0e381a46b194889cf6da3391 (patch) | |
tree | 8b1cd3de3f8bfe05c449aa3cc1a7a13b7a8a31db /arch/x86/kernel/ldt.c | |
parent | 1e8ff29fbbde01e18d97f7b68d1e90260844ca19 (diff) |
KVM: x86: return 1 unconditionally for availability of KVM_CAP_VAPIC
The two ioctls used to implement userspace-accelerated TPR,
KVM_TPR_ACCESS_REPORTING and KVM_SET_VAPIC_ADDR, are available
even if hardware-accelerated TPR can be used. So there is
no reason not to report KVM_CAP_VAPIC.
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/ldt.c')
0 files changed, 0 insertions, 0 deletions