[lkml]   [2009]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch 27/71] KVM: Ignore reads to K7 EVNTSEL MSRs

    2.6.30-stable review patch. If anyone has any objections, please let us know.

    From: Amit Shah <>

    (cherry picked from commit 9e6996240afcbe61682eab8eeaeb65c34333164d)

    In commit 7fe29e0faacb650d31b9e9f538203a157bec821d we ignored the
    reads to the P6 EVNTSEL MSRs. That fixed crashes on Intel machines.

    Ignore the reads to K7 EVNTSEL MSRs as well to fix this on AMD

    This fixes Kaspersky antivirus crashing Windows guests on AMD hosts.

    Signed-off-by: Amit Shah <>
    Signed-off-by: Avi Kivity <>
    Signed-off-by: Greg Kroah-Hartman <>
    arch/x86/kvm/x86.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/arch/x86/kvm/x86.c
    +++ b/arch/x86/kvm/x86.c
    @@ -900,6 +900,7 @@ int kvm_get_msr_common(struct kvm_vcpu *
    case MSR_VM_HSAVE_PA:
    case MSR_P6_EVNTSEL0:
    case MSR_P6_EVNTSEL1:
    + case MSR_K7_EVNTSEL0:
    data = 0;
    case MSR_MTRRcap:

     \ /
      Last update: 2009-09-05 02:27    [W:0.021 / U:29.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site