[libvirt] [PATCH] virsh: Report errors if arguments of the schedinfo command are incorrect

2012-12-03 Thread Peter Krempa
Libvirt's helper API's when called directly don't raise the error so that virsh remembers it. Subsequent calls to libvirt API's might reset the error. In case of schedinfo virDomainFree() in the cleanup section resets the error when virTypedParameterAssignFromStr() fails. This patch adds

Re: [libvirt] [PATCH] virsh: Report errors if arguments of the schedinfo command are incorrect

2012-12-03 Thread Jiri Denemark
On Mon, Dec 03, 2012 at 14:46:51 +0100, Peter Krempa wrote: Libvirt's helper API's when called directly don't raise the error so that virsh remembers it. Subsequent calls to libvirt API's might reset the error. In case of schedinfo virDomainFree() in the cleanup section resets the error