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

Re: [Xen-devel] [PATCH] libxl: correct xl cpupool-numa-split with vcpu limited dom0



Juergen Gross writes ("Re: [Xen-devel] [PATCH] libxl: correct xl 
cpupool-numa-split with vcpu limited dom0"):
> On 14/06/16 12:07, Ian Jackson wrote:
> > I looked at the code for a minute or two, and perhaps I'm being dense
> > this morning, but I wasn't able to see (from the code and the commit
> > message and from the diff) precisely what misunderstanding the
> > original author of the code had, and how this patch fixes it.
> 
> The problem arises if dom0 has less vcpus than a numa node. In this case
> libxl_set_vcpuonline() will fail as the cpumap has more bits set than
> the number of dom0's vcpus.

Oh, right, of course.

> My patch will result in a call of libxl_set_vcpuonline() only in case
> dom0 has more vcpus online than the number of cpus of node it is to be
> restricted to.

That makes sense, thanks.

I have made a note of this patch in my backport list.

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®.