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

Erik Skultety eskultet at redhat.com
Thu Nov 28 12:57:02 UTC 2019


On Thu, Nov 28, 2019 at 11:24:04AM +0100, 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: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list