On Tue, Jul 21, 2020 at 10:51:05PM -0500, Eric Blake wrote:
+++ b/filters/log/log.c @@ -227,11 +227,12 @@ output_return (struct handle *h, const char *act, uint64_t id, int r, int *err) /* Open a connection. */ static void * -log_open (nbdkit_next_open *next, void *nxdata, int readonly) +log_open (nbdkit_next_open *next, void *nxdata, + int readonly, const char *exportname) { struct handle *h; - if (next (nxdata, readonly) == -1) + if (next (nxdata, readonly, exportname) == -1) return NULL;
Pre-existing - the log filter should include the exportname somewhere in its output log. Well, nothing like the present to fix it ;)
I did that in the meantime, so you'll need a slight rebase.
Yup I saw your patch to the log filter, so I'll deal with that. Thanks, Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org