KVM: ignore reads to perfctr msrs
authorAmit Shah <amit.shah@redhat.com>
Tue, 30 Jun 2009 10:54:28 +0000 (16:24 +0530)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:21 +0000 (08:33 +0300)
commit1f3ee616dd21ff155f781c35509229bf2788c072
tree5b2d4d5085cd1fa4691b2c78b5e4e023865c0f81
parenteab4b8aa34fc64e3a91358e1612e6d059396193b
KVM: ignore reads to perfctr msrs

We ignore writes to the perfctr msrs. Ignore reads as well.

Kaspersky antivirus crashes Windows guests if it can't read
these MSRs.

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