1. 05 Aug, 2009 1 commit
    • Jan Kiszka's avatar
      KVM: Fix KVM_GET_MSR_INDEX_LIST · e125e7b6
      Jan Kiszka authored
      So far, KVM copied the emulated_msrs (only MSR_IA32_MISC_ENABLE) to a
      wrong address in user space due to broken pointer arithmetic. This
      caused subtle corruption up there (missing MSR_IA32_MISC_ENABLE had
      probably no practical relevance). Moreover, the size check for the
      user-provided kvm_msr_list forgot about emulated MSRs.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      e125e7b6
  2. 04 Aug, 2009 39 commits