]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: hyper-v: Inverse the default in hv_check_msr_access()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 21 May 2021 09:51:52 +0000 (11:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:42 +0000 (13:09 -0400)
commit6b798b63ab03226040b6d6519bce4b58be8bc25a
tree7004caaad2f9dcc7d78719955efe5299fdc6901d
parentee7f0ed7fb0b2f05406375843ca30268d3522353
KVM: x86: hyper-v: Inverse the default in hv_check_msr_access()

Access to all MSRs is now properly checked. To avoid 'forgetting' to
properly check access to new MSRs in the future change the default
to 'false' meaning 'no access'.

No functional change intended.

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