[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.