[libvirt] [PATCH] qemu: Fix migration without parameters

Daniel Henrique Barboza danielhb413 at gmail.com
Thu Nov 28 11:30:09 UTC 2019



On 11/28/19 7:24 AM, Jiri Denemark wrote:
> The virTypedParamsFilter function doesn't mind params == NULL if nparams
> is zero. And there's no need to check for params == NULL && nparams > 0
> because this is checked higher in the stack.
> 
> In fact all the virCheckNonNull* checks in virTypedParamsFilter are
> useless.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1777094
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---


Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>




More information about the libvir-list mailing list