]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: hyper-v: Enable Enlightened MSR-Bitmap support for real
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 20 Dec 2021 15:21:36 +0000 (16:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Jan 2022 17:15:02 +0000 (12:15 -0500)
commitef5acd179b87af3463486f71b9e11b8207fff987
treee34f774a6177dc99562e4345262d0fc7f8ea4f9f
parentc01864c6c813af643db68d13a5ba1b5a031583f5
KVM: SVM: hyper-v: Enable Enlightened MSR-Bitmap support for real

Commit 0c3cf176bc22 ("KVM: SVM: hyper-v: Enlightened MSR-Bitmap support")
introduced enlightened MSR-Bitmap support for KVM-on-Hyper-V but it didn't
actually enable the support. Similar to enlightened NPT TLB flush and
direct TLB flush features, the guest (KVM) has to tell L0 (Hyper-V) that
it's using the feature by setting the appropriate feature fit in VMCB
control area (sw reserved fields).

Fixes: 0c3cf176bc22 ("KVM: SVM: hyper-v: Enlightened MSR-Bitmap support")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20211220152139.418372-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm_onhyperv.h