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)
commit9e6996240afcbe61682eab8eeaeb65c34333164d
tree9e2617d9d972b28521a39ec96b677641228cd181
parente3c7cb6ad7191e92ba89d00a7ae5f5dd1ca0c214
KVM: Ignore reads to K7 EVNTSEL MSRs

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>
arch/x86/kvm/x86.c