diff options
author | Aaron Lewis <aaronlewis@google.com> | 2022-02-15 00:29:51 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-17 17:52:50 +0300 |
commit | 127770ac0d043435375ab86434f31a93efa88215 (patch) | |
tree | 74c97683ef2e7be02e2fecb03b559ef1e0085a50 /virt/kvm | |
parent | 710c476514313c74045c41c0571bb5178fd16e3d (diff) | |
download | linux-127770ac0d043435375ab86434f31a93efa88215.tar.xz |
KVM: x86: Add KVM_CAP_ENABLE_CAP to x86
Follow the precedent set by other architectures that support the VCPU
ioctl, KVM_ENABLE_CAP, and advertise the VM extension, KVM_CAP_ENABLE_CAP.
This way, userspace can ensure that KVM_ENABLE_CAP is available on a
vcpu before using it.
Fixes: 5c919412fe61 ("kvm/x86: Hyper-V synthetic interrupt controller")
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Message-Id: <20220214212950.1776943-1-aaronlewis@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions