From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH 2/4] Add tools/tests/offline_module Date: Thu, 12 Dec 2013 11:09:42 +0000 Message-ID: <52A99976.2020505@citrix.com> References: <1386809777-12898-1-git-send-email-dslutz@terremark.com> <1386809777-12898-3-git-send-email-dslutz@terremark.com> <1386842469.12610.38.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1386842469.12610.38.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Ian Jackson , xen-devel@lists.xen.org, Keir Fraser , Don Slutz , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 12/12/13 10:01, Ian Campbell wrote: > On Wed, 2013-12-11 at 19:56 -0500, Don Slutz wrote: >> From: Don Slutz >> >> 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