From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v2 07/13] x86/PMU: Make vpmu not HVM-specific Date: Wed, 25 Sep 2013 10:49:44 -0400 Message-ID: <5242F808.9020905@oracle.com> References: <1379670132-1748-1-git-send-email-boris.ostrovsky@oracle.com> <1379670132-1748-8-git-send-email-boris.ostrovsky@oracle.com> <524309B802000078000F64A7@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VOqNU-0005LN-DZ for xen-devel@lists.xenproject.org; Wed, 25 Sep 2013 14:47:44 +0000 In-Reply-To: <524309B802000078000F64A7@nat28.tlf.novell.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: Jan Beulich Cc: suravee.suthikulpanit@amd.com, George.Dunlap@eu.citrix.com, jacob.shin@amd.com, eddie.dong@intel.com, dietmar.hahn@ts.fujitsu.com, jun.nakajima@intel.com, xen-devel List-Id: xen-devel@lists.xenproject.org On 09/25/2013 10:05 AM, Jan Beulich wrote: >>>> On 20.09.13 at 11:42, Boris Ostrovsky wrote: >> --- a/xen/include/asm-x86/hvm/vpmu.h >> +++ b/xen/include/asm-x86/hvm/vpmu.h >> @@ -31,9 +31,9 @@ >> #define VPMU_BOOT_ENABLED 0x1 /* vpmu generally enabled. */ >> #define VPMU_BOOT_BTS 0x2 /* Intel BTS feature wanted. */ >> >> -#define vcpu_vpmu(vcpu) (&((vcpu)->arch.hvm_vcpu.vpmu)) >> +#define vcpu_vpmu(vcpu) (&((vcpu)->arch.vpmu)) >> #define vpmu_vcpu(vpmu) (container_of((vpmu), struct vcpu, \ >> - arch.hvm_vcpu.vpmu)) >> + arch.vpmu)) > This clearly needs to be moved out of a HVM specific header the too. The last patch of the series moves all vpmu* files up from HVM. -boris