]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Ignore reads to EVNTSEL MSRs
authorAmit Shah <amit.shah@redhat.com>
Fri, 20 Mar 2009 07:09:00 +0000 (12:39 +0530)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:30 +0000 (11:48 +0300)
commit8157b96f5ca614bd49595bd47e9d56c9a7f929e7
treee9e4575c24450b8aac827bd29e4e90e837a12554
parent0ac62f28591f60dbc8d5aa507b11897b09b44f7c
KVM: x86: Ignore reads to EVNTSEL MSRs

We ignore writes to the performance counters and performance event
selector registers already. Kaspersky antivirus reads the eventsel
MSR causing it to crash with the current behaviour.

Return 0 as data when the eventsel registers are read to stop the
crash.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c