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/
Home Products Support Community News


[Xen-devel] [PATCH 0/4] CPU online/offline support in Xen

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 0/4] CPU online/offline support in Xen
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Tue, 9 Sep 2008 16:58:41 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Sep 2008 01:59:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckSWkJgEiGnevdPRMa43z+Ofqe5HA==
Thread-topic: [PATCH 0/4] CPU online/offline support in Xen
Hi, Keir,

The following patches enable Xen to online/offline a physical CPU. This
feature will be needed by possibly CPU hot-plug and RAS features.
Some code of cpu online/offline is already in Xen, ever since S3 feature
was added to Xen. This patch series only adds the missing part.

Note: We only add the code to implement the function that actually
online/offline a CPU. The patches for tests are only served as a test
purpose. We do the tests by hooking online/offline decision to vcpu
online/offline path in Dom0. Thus, writes to
/sys/devices/system/cpu/cpuX/online will online/offline the vcpu, as
well as physical cpu.

Here is the description of the patches.

cpu_offline.patch       Implements cpu offline feature
cpu_online.patch        Implements cpu online feature

cpu_online_offline_test.patch   Used for tests -- Xen part
cpu_online_offline_kernel.patch Used for tests -- Dom0 kernel part

Best Regards
Haitao Shan

Xen-devel mailing list