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

[Xen-devel] [PATCH] Tools: add online/offline hotplug user interfaces

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Subject: [Xen-devel] [PATCH] Tools: add online/offline hotplug user interfaces
From: "Ke, Liping" <liping.ke@xxxxxxxxx>
Date: Tue, 20 Apr 2010 14:08:56 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 19 Apr 2010 23:11:45 -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: AcrgT/XiIJElcxKERuSYidxqWTwLhw==
Thread-topic: [PATCH] Tools: add online/offline hotplug user interfaces

Hi, all

 

This patch is for exporting cpu on/offline and memory on/offline hotplug interfaces,

so that users can do those (memory/cpu) hotplug actions with following command line:

 

usage: xen-hptool <command> [args]

    xen-hptool command list:\n\n

    cpu-online    <cpuid>    online CPU <cpuid>

    cpu-offline   <cpuid>    offline CPU <cpuid>

    mem-online    <mfn>      online MEMORY <mfn>

    mem-offline   <mfn>      offline MEMORY <mfn>

    mem-status    <mfn>      query Memory status<mfn>

 

When mcelog do user-level predictive recovery actions, this tool interface might be called by mcelog

recovery action scripts(mem page online/offline, eg). That’s why I want to push this tool firstly.

 

Thanks& Regards,

criping

 

Attachment: hptool.patch
Description: hptool.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Tools: add online/offline hotplug user interfaces, Ke, Liping <=