This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: [Patch] support of cpu pools in xl

On Fri, 2010-10-01 at 08:18 +0100, Juergen Gross wrote:
> > The problem with the interface you are trying to define is
> compounded by
> > the fact that the returned array is sparse and so in fact you will
> run
> > out of space at poolid == nr_cpus+32 rather than at number of pools
> ==
> > nr_cpus+32. (Note that in contrast libxl_list_domain returns a
> compact
> > array so that you run out of space at 1024 domains total, not domid
> > 1024).
> I think you misread the code. The returned array is NOT sparse. Please
> note that the hypervisor will return the info of the next cpu pool
> with poolid equal or larger as the requested one (that's the reason
> why poolid is a vital return info).

Ah, I think that makes sense, thanks for taking the time to explain.
I'll take another look at the latest patch set.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>