diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2021-05-21 11:51:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-17 13:09:39 -0400 |
commit | b4128000e2c9b176a449d748dcb083c61d61cc6e (patch) | |
tree | caa59d7ef9ea40516084019e4a22161bb6b44266 /lib | |
parent | 10d7bf1e46dc19d964f0f67d2a6d20df907742d1 (diff) | |
download | lwn-b4128000e2c9b176a449d748dcb083c61d61cc6e.tar.gz lwn-b4128000e2c9b176a449d748dcb083c61d61cc6e.zip |
KVM: x86: hyper-v: Prepare to check access to Hyper-V MSRs
Introduce hv_check_msr_access() to check if the particular MSR
should be accessible by 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-5-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions