[Libvir] [PATCH] add error message for the case of the vcpupincommand fails.

S.Sakamoto fj0588di at aa.jp.fujitsu.com
Wed Mar 5 03:35:34 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.
I'm OK.
I try this version. It works fine.

Shigeki Sakamoto.

More information about the libvir-list mailing list