]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Xen: Export host physical CPU information to dom0
authorLiu Jinsong <jinsong.liu@intel.com>
Thu, 8 Dec 2011 14:28:07 +0000 (22:28 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 24 Feb 2012 05:29:53 +0000 (00:29 -0500)
commit462aa20d0fe3ed83fb39fe848723dd50ffd6763e
tree87f623b5768ef6b8c8d877f708feb64f2e28f7d6
parentb821d4bf0d69b71ffef5755e3396d78b19932bcb
Xen: Export host physical CPU information to dom0

This patch rebased from Jeremy's pvops commit
3b34cd19627c6e191b15fd6cb59f997b8db21e19 and
68320323a51c2378aca433c76157d9e66104ff1e

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: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/Makefile
drivers/xen/pcpu.c [new file with mode: 0644]
include/xen/interface/platform.h
include/xen/interface/xen.h
include/xen/pcpu.h [new file with mode: 0644]