[Libvir] [PATCH] add error message for the case of the vcpupin command fails.
Richard W.M. Jones
rjones at redhat.com
Tue Mar 4 19:57:26 UTC 2008
On Tue, Mar 04, 2008 at 11:03:25AM +0000, Richard W.M. Jones wrote:
> OK, I'm going to qualify that a bit. Is it always safe to access
> arg->data? I think probably it is, but I'm not sure so I modified the
> patch slightly just to print an error message like this:
>
> $ src/virsh -c test:///default vcpupin test AAA 0,1
> error: vcpupin: Invalid or missing vCPU number.
I committed this version. Let me know if it's OK.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
More information about the libvir-list
mailing list