[libvirt] [PATCH] virsh: Add a helper to parse cpulist
Eric Blake
eblake at redhat.com
Mon Apr 1 16:53:28 UTC 2013
On 03/28/2013 05:36 AM, Osier Yang wrote:
> vcpupin and emulatorpin use same code to parse the cpulist, this
> abstracts the same code as a helper. Along with various code style
> fixes, and error improvement (only error "Physical CPU %d doesn't
> exist" if the specified CPU exceed the range, no "cpulist: Invalid
> format", see the following for an example of the error prior to
> this patch).
>
> % virsh vcpupin 4 0 0-8
> error: Physical CPU 4 doesn't exist.
> error: cpulist: Invalid format.
> ---
> tools/virsh-domain.c | 278 ++++++++++++++++++++-------------------------------
> 1 file changed, 106 insertions(+), 172 deletions(-)
ACK with your s/vir/vsh/ rename squashed in.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130401/dc195aa3/attachment-0001.sig>
More information about the libvir-list
mailing list