From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Re: [PATCH] Add hypercall to expose physical CPU in xen hypervisor Date: Tue, 10 Nov 2009 11:36:26 -0500 Message-ID: <20091110163626.GC23000@phenom.dumpdata.com> References: <4AF891B6.8010003@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline 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: "Jiang, Yunhong" Cc: Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Tue, Nov 10, 2009 at 08:16:42PM +0800, Jiang, Yunhong wrote: > Jeremy, here is the update patch according to the new interface, please have a look. > One changes in this patch is, the apic_id/acpi_id is exposed in sysfs also. > > Thanks > yunhong Jiang > > Export host physical CPU information to dom0 > > From: Jiang, Yunhong > > This patch expose host's physical CPU information to dom0 in sysfs, so that dom0's management tools can control the physical CPU if needed. > > It also provides interface in sysfs to logical online/offline a physical CPU. > > Notice: The information in dom0 is synced with xen hypervisor asynchronously. > > Signed-off-by: Jiang, Yunhong Here is what checkpatch says: WARNING: do not add new typedefs #523: FILE: include/xen/interface/platform.h:328: +typedef struct xen_physical_cpuinfo xen_physical_cpuinfo_t; WARNING: do not add new typedefs #537: FILE: include/xen/interface/platform.h:342: +typedef struct xenpf_pcpu_info xenpf_pcpu_info_t; total: 0 errors, 2 warnings, 564 lines checked /home/konrad/01-dom0_pcpu.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.