]> 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)
commit748655c3fe68fb8b155c3e036fa8b8b8858e30f9
tree1b652aa3853e27da1df1b1604aebf7a80b551764
parent9e38d79ac268dcc180674f6788e97155f71af4a0
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