]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: hyper-v: Prepare to check access to Hyper-V hypercalls
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 21 May 2021 09:51:54 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:43 +0000 (13:09 -0400)
commite78dca8a48f2b4a9b274841c90c5bfc0e82ebcee
tree1b652aa3853e27da1df1b1604aebf7a80b551764
parentd861f501edeb5c6efdce4431a19a752d03e7d645
KVM: x86: hyper-v: Prepare to check access to Hyper-V hypercalls

Introduce hv_check_hypercallr_access() to check if the particular hypercall
should be available to guest, this will be used with
KVM_CAP_HYPERV_ENFORCE_CPUID mode.

No functional change intended.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210521095204.2161214-21-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c