• Vineeth Pillai's avatar
    KVM: SVM: hyper-v: Enlightened MSR-Bitmap support · c4327f15
    Vineeth Pillai authored
    Enlightened MSR-Bitmap as per TLFS:
    
     "The L1 hypervisor may collaborate with the L0 hypervisor to make MSR
      accesses more efficient. It can enable enlightened MSR bitmaps by setting
      the corresponding field in the enlightened VMCS to 1. When enabled, L0
      hypervisor does not monitor the MSR bitmaps for changes. Instead, the L1
      hypervisor must invalidate the corresponding clean field after making
      changes to one of the MSR bitmaps."
    
    Enable this for SVM.
    
    Related VMX changes:
    commit ceef7d10 ("KVM: x86: VMX: hyper-v: Enlightened MSR-Bitmap support")
    Signed-off-by: default avatarVineeth Pillai <viremana@linux.microsoft.com>
    Message-Id: <87df0710f95d28b91cc4ea014fc4d71056eebbee.1622730232.git.viremana@linux.microsoft.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    c4327f15
svm.c 123 KB