[Libvir] CPU pinning of domains at creation time
veillard at redhat.com
Fri Oct 12 09:09:04 UTC 2007
On Thu, Oct 11, 2007 at 10:45:44AM -0500, Ryan Harper wrote:
> * Daniel Veillard <veillard at redhat.com> [2007-10-11 08:01]:
> > - for the mapping at the XML level I suggest to use a simple extension
> > to the <vcpu>n</vcpu> and extend it to
> > <vcpu cpuset='2,3'>n</vcpu>
> > with a limited syntax which is just the comma separated list of
> > allowed CPU numbers (if the code actually detects such a cpuset is
> > in effect i.e. in general this won't be added).
> I think we should support the same cpuset notation that Xen supports,
> which means including ranges (1-4) and negation (^1). These two
> features make describing large ranges much more compact.
on input I guess it makes sense. But we can't garantee to have such
a compact representation on output.
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list