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

Re: [Xen-devel] xl cpu online/offline?



On Wed, 2016-01-13 at 09:53 -0500, Konrad Rzeszutek Wilk wrote:
> 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

For end users is the functionality provided by xl vcpu-set not easier and
more appropriate?

AIUI the commands you are proposing differ in that they allow arbitrary
sets of processors, rather than just the first N, to be manipulated?
Perhaps adding a flag to xl vcpu-set would be a nice way to add this
ability?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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