[PATCH] Make virConnectOpenInternal() report error in all cases

Daniel P. Berrangé berrange at redhat.com
Thu Jan 6 15:24:33 UTC 2022


On Thu, Jan 06, 2022 at 08:34:26PM +0530, Ani Sinha wrote:
> virConnectOpenInternal() does not report error in all failure scenarios, except
> in some specific cases.

I don't believe this is correct. My reading of the code is that it
is already reporting errors in all exit paths that can return NULL.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list