An error occurred fetching the project authors.
  1. 05 Feb, 2020 3 commits
  2. 27 Jan, 2020 5 commits
  3. 24 Jan, 2020 6 commits
  4. 21 Jan, 2020 8 commits
  5. 13 Jan, 2020 4 commits
  6. 08 Jan, 2020 4 commits
  7. 04 Dec, 2019 1 commit
  8. 23 Nov, 2019 1 commit
    • Jim Mattson's avatar
      kvm: nVMX: Relax guest IA32_FEATURE_CONTROL constraints · 85c9aae9
      Jim Mattson authored
      Commit 37e4c997 ("KVM: VMX: validate individual bits of guest
      MSR_IA32_FEATURE_CONTROL") broke the KVM_SET_MSRS ABI by instituting
      new constraints on the data values that kvm would accept for the guest
      MSR, IA32_FEATURE_CONTROL. Perhaps these constraints should have been
      opt-in via a new KVM capability, but they were applied
      indiscriminately, breaking at least one existing hypervisor.
      
      Relax the constraints to allow either or both of
      FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX and
      FEATURE_CONTROL_VMXON_ENABLED_INSIDE_SMX to be set when nVMX is
      enabled. This change is sufficient to fix the aforementioned breakage.
      
      Fixes: 37e4c997 ("KVM: VMX: validate individual bits of guest MSR_IA32_FEATURE_CONTROL")
      Signed-off-by: default avatarJim Mattson <jmattson@google.com>
      Reviewed-by: default avatarLiran Alon <liran.alon@oracle.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      85c9aae9
  9. 21 Nov, 2019 2 commits
  10. 20 Nov, 2019 1 commit
  11. 16 Nov, 2019 1 commit
    • Thomas Gleixner's avatar
      x86/tss: Fix and move VMX BUILD_BUG_ON() · 6b546e1c
      Thomas Gleixner authored
      The BUILD_BUG_ON(IO_BITMAP_OFFSET - 1 == 0x67) in the VMX code is bogus in
      two aspects:
      
      1) This wants to be in generic x86 code simply to catch issues even when
         VMX is disabled in Kconfig.
      
      2) The IO_BITMAP_OFFSET is not the right thing to check because it makes
         asssumptions about the layout of tss_struct. Nothing requires that the
         I/O bitmap is placed right after x86_tss, which is the hardware mandated
         tss structure. It pointlessly makes restrictions on the struct
         tss_struct layout.
      
      The proper thing to check is:
      
          - Offset of x86_tss in tss_struct is 0
          - Size of x86_tss == 0x68
      
      Move it to the other build time TSS checks and make it do the right thing.
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Acked-by: default avatarAndy Lutomirski <luto@kernel.org>
      6b546e1c
  12. 15 Nov, 2019 4 commits