]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: hyper-v: Introduce KVM_CAP_HYPERV_ENFORCE_CPUID
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 21 May 2021 09:51:36 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:38 +0000 (13:09 -0400)
commit6c61a2f076b706dfc6b5a11751ca1d0a6f6c342a
tree52bc3f0c3d4dfcc9f9af9a0672fd078a5cde5bda
parent92398ca88bbf8cf1c2a29b23ade497d4436eba5a
KVM: x86: hyper-v: Introduce KVM_CAP_HYPERV_ENFORCE_CPUID

Modeled after KVM_CAP_ENFORCE_PV_FEATURE_CPUID, the new capability allows
for limiting Hyper-V features to those exposed to the guest in Hyper-V
CPUIDs (0x40000003, 0x40000004, ...).

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210521095204.2161214-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/api.rst
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/hyperv.c
arch/x86/kvm/hyperv.h
arch/x86/kvm/x86.c
include/uapi/linux/kvm.h