From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: xl cpu online/offline? Date: Wed, 13 Jan 2016 09:53:59 -0500 Message-ID: <20160113145359.GA23951@char.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aJMoN-0001Td-Tl for xen-devel@lists.xenproject.org; Wed, 13 Jan 2016 14:54:12 +0000 Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org, xudong.hao@intel.com, ian.campbell@citrix.com, wei.liu2@citrix.com List-Id: xen-devel@lists.xenproject.org Hey, We have some libxc calls for onlining/offlining the CPU and they are quite good for testing how well Xen behaves without say doing an S3 suspend or such. It occurred to me that it would be nice to have them hook up in libxl/xl but I am not exactly sure what the right command line would be? And whether you want to make it super-duper smart to be able to deal with ranges or hex masks, etc (like xentrace does). Anyhow my first thought was: xl cpu online/offline but most of the commands seem to follow one command per action, so perhaps: xl cpu-online xl cpu-offline ? Thanks.