From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 3/8] x86/AMD: Read VPMU MSRs from context when it is not loaded into HW Date: Tue, 16 Apr 2013 11:41:51 -0400 Message-ID: <20130416154151.GD2799@phenom.dumpdata.com> References: <1365528379-2516-1-git-send-email-boris.ostrovsky@oracle.com> <1365528379-2516-4-git-send-email-boris.ostrovsky@oracle.com> <5167004B.2000905@amd.com> <51670247.1090409@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <51670247.1090409@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Boris Ostrovsky Cc: Suravee Suthikulpanit , jacob.shin@amd.com, haitao.shan@intel.com, dietmar.hahn@ts.fujitsu.com, xen-devel@lists.xen.org, jun.nakajima@intel.com List-Id: xen-devel@lists.xenproject.org On Thu, Apr 11, 2013 at 02:34:47PM -0400, Boris Ostrovsky wrote: > On 04/11/2013 02:26 PM, Suravee Suthikulpanit wrote: > >Boris, > > > >I tried booting the guest HVM after the patch, I still see PERF > >only working in Software mode only. I'll look more into this. > > You may need to declare proper CPUID bits in the config file. On > fam15h I have > > cpuid=['0x80000001:ecx=00000001101000011000101111110011'] Would it be possible to write somewhere this magic incantention? Perhaps in the xl.cfg.pod.5 ? (This of course being a different patch).