[libvirt] [PATCH] qemu: Avoid comparing size_t with -1

John Ferlan jferlan at redhat.com
Mon Dec 11 13:49:34 UTC 2017



On 12/11/2017 08:37 AM, Jiri Denemark wrote:
> ncpus would be -1 on error and the cleanup for loop would not be skipped
> in this case.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_capabilities.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list