• Linus Torvalds's avatar
    Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 03a6c259
    Linus Torvalds authored
    Pull KVM fixes from Radim Krčmář:
     "x86:
    
       - fix NULL dereference when using userspace lapic
    
       - optimize spectre v1 mitigations by allowing guests to use LFENCE
    
       - make microcode revision configurable to prevent guests from
         unnecessarily blacklisting spectre v2 mitigation feature"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
      KVM: x86: fix vcpu initialization with userspace lapic
      KVM: X86: Allow userspace to define the microcode version
      KVM: X86: Introduce kvm_get_msr_feature()
      KVM: SVM: Add MSR-based feature support for serializing LFENCE
      KVM: x86: Add a framework for supporting MSR-based features
    03a6c259
svm.c 176 KB