]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: Ignore reads to K7 EVNTSEL MSRs
authorAmit Shah <amit.shah@redhat.com>
Mon, 3 Aug 2009 17:57:56 +0000 (14:57 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:33:33 +0000 (20:33 -0700)
commit424db486d8dd65c6ddc8b9e05dbe0a87eb5c8a87
treeddd928a86cad387e89a69b2993d31ac505b96e2c
parent70f04604e099f62de013c7910cd43a3507433541
KVM: Ignore reads to K7 EVNTSEL MSRs

(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
hosts.

This fixes Kaspersky antivirus crashing Windows guests on AMD hosts.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c