From: Keir Fraser Subject: Re: Problems with enabling hypervisor C and P-statecontrol Date: Mon, 27 Oct 2008 11:24:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" , 'Ian Pratt' , "Yu, Ke" , Niraj Tolia Cc: "Liu, Jinsong" , Xen Developers List-Id: xen-devel@lists.xenproject.org On 27/10/08 07:56, "Tian, Kevin" wrote: > Also how about BSP? If BSP is not thread0/core0/package0, > then all the rest sorting effort is just meaningless. :-( True. Another possibility would be to provide a remapping between CPU identifiers used within Xen and those exposed to tools via sysctl/domctl. The latter could be sorted; and no ordering constraints placed on the former. > This is necessary information. Is there any existing interface reporting > similar info? If not, could you suggest which interface to carry? Tools > like xenpm may need to query such infro to construct a better summary. > If it's not there, we can consider to add. The info is not available right now. It could be exposed via sysctl. Either a new sysctl or by extending existing XEN_SYSCTL_getcpuinfo. -- keir