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)
commit38dfa8308cfc43f671a74c753302fec26808edc0
treee34f774a6177dc99562e4345262d0fc7f8ea4f9f
parentcdf85e0c5dc766fc7fc779466280e454a6d04f87
KVM: SVM: hyper-v: Enable Enlightened MSR-Bitmap support for real

Commit c4327f15dfc7 ("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: c4327f15dfc7 ("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