[libvirt] [PATCH 2/2] virsh-domain: Report errors on invalid --holdtime value for cmdSendKey

Eric Blake eblake at redhat.com
Thu Apr 18 12:44:55 UTC 2013


On 04/18/2013 02:51 AM, Peter Krempa wrote:
> Using of a incorrect value for the --holdtime option was silently
> ignored and 0 was used. In case a negative number was used, it
> overflowed as the API expects a unsigned int.
> 
> Fix the data type and getter function type and report errors on
> incorrect values.
> ---
>  tools/virsh-domain.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 

ACK.

-- 
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/20130418/f7283b84/attachment-0001.sig>


More information about the libvir-list mailing list