WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH] Add hypercall to expose physical CPU in xen

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] Add hypercall to expose physical CPU in xen hypervisor
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 10 Nov 2009 11:36:26 -0500
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 10 Nov 2009 08:37:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098418E5238629@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C71C27D1.1974B%keir.fraser@xxxxxxxxxxxxx> <4AF891B6.8010003@xxxxxxxx> <E2263E4A5B2284449EEBD0AAB751098418E5238629@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.19 (2009-01-05)
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 <yunhong.jiang@xxxxxxxxx>
> 
> 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 <yunhong.jiang@xxxxxxxxx>



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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel