aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-05-21 11:51:58 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-17 13:09:44 -0400
commita921cf83cc4c927f29eef1e7a17bff176c74b886 (patch)
treef96e7a44f6580bef8f016ec02880f0bdca6ae93a /arch/x86/kvm/svm/nested.c
parentKVM: x86: hyper-v: Honor HV_SIGNAL_EVENTS privilege bit (diff)
downloadlinux-dev-a921cf83cc4c927f29eef1e7a17bff176c74b886.tar.xz
linux-dev-a921cf83cc4c927f29eef1e7a17bff176c74b886.zip
KVM: x86: hyper-v: Honor HV_DEBUGGING privilege bit
Hyper-V partition must possess 'HV_DEBUGGING' privilege to issue HVCALL_POST_DEBUG_DATA/HVCALL_RETRIEVE_DEBUG_DATA/ HVCALL_RESET_DEBUG_SESSION hypercalls. Note, when SynDBG is disabled hv_check_hypercall_access() returns 'true' (like for any other unknown hypercall) so the result will be HV_STATUS_INVALID_HYPERCALL_CODE and not HV_STATUS_ACCESS_DENIED. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210521095204.2161214-25-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions