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

[Xen-devel] [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

 


Rackspace

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