[Libguestfs] [PATCH nbdkit v2 0/3] server: Remove explicit connection parameter.

Richard W.M. Jones rjones at redhat.com
Tue Feb 11 17:39:40 UTC 2020


v1 was here:
https://www.redhat.com/archives/libguestfs/2020-February/msg00081.html

v2 replaces
  struct connection *conn = GET_CONN;
with
  GET_CONN;
which sets conn implicitly and asserts that it is non-NULL.
If we actually want to test if conn is non-NULL or behave
differently, then you must use threadlocal_get_conn() instead,
and some existing uses do that.

Rich.





More information about the Libguestfs mailing list