[Libvir] Here the patch for virtual CPU functions.
veillard at redhat.com
Sat Aug 5 08:31:47 UTC 2006
On Sat, Aug 05, 2006 at 01:27:43AM +0100, Daniel P. Berrange wrote:
> I added 3 more convenience macros:
> VIR_CPU_FULL_MAPLEN(vcpu, cpu)
> To hide the maths from developers.
> I also bug-fixed the pin cpu method which mistakenly checked for vcpu < 1
> instead of vcpu < 0 when validating args.
good catch !
> See atached patch for these changes
Looks sane to me, please commit :-)
> > One more:
> > - expose the new APIs via virsh. Michael originally suggsted pretty much
> > following the style of 'xm vcpu-pin' and 'vcpu-list'. Seems like a fairly
> > reasonable pattern to follow.
> See the attached patch which adds these commands. eg:
very cool :-), Yay !
Daniel Veillard | Red Hat http://redhat.com/
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