From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: Re: [PATCH]: Fake emulate Intel perfctr MSRs Date: Tue, 10 Jun 2008 15:27:44 +0200 Message-ID: <484E8150.6050600@redhat.com> References: <483E7AE9.5000804@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:39571 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753462AbYFJN2C (ORCPT ); Tue, 10 Jun 2008 09:28:02 -0400 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m5ADS2xc018330 for ; Tue, 10 Jun 2008 09:28:02 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5ADS1QL032221 for ; Tue, 10 Jun 2008 09:28:01 -0400 Received: from localhost.localdomain (vpn-14-32.rdu.redhat.com [10.11.14.32]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5ADS0VI026274 for ; Tue, 10 Jun 2008 09:28:01 -0400 In-Reply-To: <483E7AE9.5000804@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Chris Lalancette wrote: > Attached is a patch for fake emulating Intel perfctr MSRs, similar to the recent > patch to fake emulate the AMD perfctr MSRs. This is needed for a reason similar > for the previous patch; older linux guests (in this case, 2.6.9) can attempt to > access the MSR's without a fixup section, and injecting a GPF kills the guest. > Tested by me on RHEL-4 i386 and x86_64 guests, as well as F-9 guests. > > Signed-off-by: Chris Lalancette > Avi, You were probably traveling while I sent this, so ping? Chris Lalancette