Re: [Libguestfs] [PATCH nbdkit] server: Add nbdkit_export_name() to allow export name to be read.

2019-09-10 Thread Richard W.M. Jones
On Tue, Sep 10, 2019 at 08:11:10AM -0500, Eric Blake wrote: > > +=head1 EXPORT NAME > > + > > +If the client negotiated an NBD export name with nbdkit then plugins > > +may read this from any connected callbacks. Nbdkit's normal behaviour > > +is to accept any export name passed by the client,

Re: [Libguestfs] [PATCH nbdkit] server: Add nbdkit_export_name() to allow export name to be read.

2019-09-10 Thread Eric Blake
On 9/10/19 6:20 AM, Richard W.M. Jones wrote: > This allows plugins (or filters) to read the export name which was > passed to the server from the client. > > UNFINISHED: > > - Needs tests > --- > TODO | 8 ++ > docs/nbdkit-plugin.pod | 39

[Libguestfs] [PATCH nbdkit] server: Add nbdkit_export_name() to allow export name to be read.

2019-09-10 Thread Richard W.M. Jones
This allows plugins (or filters) to read the export name which was passed to the server from the client. UNFINISHED: - Needs tests --- TODO | 8 ++ docs/nbdkit-plugin.pod | 39 server/connections.c

[Libguestfs] [PATCH nbdkit] server: Add nbdkit_export_name() to allow export name to be read.

2019-09-10 Thread Richard W.M. Jones
This is the sort of thing I had in mind for option (1) here: https://www.redhat.com/archives/libguestfs/2019-September/msg00047.html It does reveal that the way we currently list exports is naive to say the least ... Rich. ___ Libguestfs mailing