From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: x86: Ignore reads to EVNTSEL MSRs Date: Sun, 22 Mar 2009 11:11:27 +0200 Message-ID: <49C600BF.7030706@redhat.com> References: <1237532940-26389-1-git-send-email-amit.shah@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Amit Shah Return-path: Received: from mx2.redhat.com ([66.187.237.31]:41677 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753130AbZCVJLa (ORCPT ); Sun, 22 Mar 2009 05:11:30 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2M9BTDe018892 for ; Sun, 22 Mar 2009 05:11:29 -0400 In-Reply-To: <1237532940-26389-1-git-send-email-amit.shah@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Amit Shah wrote: > 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. > Applied, thanks. -- error compiling committee.c: too many arguments to function