On 12/12/13 10:01, Ian Campbell wrote:
> On Wed, 2013-12-11 at 19:56 -0500, Don Slutz wrote:
>> From: Don Slutz <dslutz@verizon.com>
>>
>> This is a quick and dirty linux kernel module to offline some cpus
>> as far as Xen knows.
>>
>> This can be used to re-create the bug in hvm_save_one about
>> returning the wrong data.
>
> Can this not be done via /sys/devices/system/cpu/cpu1/online etc?
> Documentation/cpu-hotplug.txt seems to suggest it can.
Yes it can.
echo 0 > /sys/devices/system/cpu/cpuN/online
And onlined again with 1.
David