]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Ignore reads to K7 EVNTSEL MSRs
authorAmit Shah <amit.shah@redhat.com>
Mon, 15 Jun 2009 07:55:34 +0000 (13:25 +0530)
committerAvi Kivity <avi@redhat.com>
Sun, 28 Jun 2009 11:10:31 +0000 (14:10 +0300)
commit8dff9ae8a81f5b7b8b71895f60117b8619984cbc
tree9e2617d9d972b28521a39ec96b677641228cd181
parent2c4d8a0afa93f9e9aeb65d9dd62954e78d2a388a
KVM: Ignore reads to K7 EVNTSEL MSRs

In commit 8157b96f5ca614bd49595bd47e9d56c9a7f929e7 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>
arch/x86/kvm/x86.c