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