On Wed, Sep 29, 2010 at 06:09:22PM -0600, Eric Blake wrote:
Here's where I ran out of time for the day. I'm much less
familiar
with xen than with qemu, so I have no idea how to tell if xen's
documented domain/vcpu_avail (which is what we want for current vcpus)
is usable in contrast to domain/vcpus (the maximum amount). For that
matter, I'm not even sure if modifying the Sxpr parsing/generating
code is enough to make xen use the new attribute, or what else might
be involved. Hints on what I need to do from here are greatly
appreciated.
I would think augmenting the sexpr should be sufficient for this
but the problem is really to find out when the feature is available,
and I don't know how to do this reliably either (except trying and if
there is an identifiable error keep it disabled).
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/