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)
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>

No differences found