[Libguestfs] [PATCH nbdkit] protocol: Implement NBD_OPT_GO.

Richard W.M. Jones rjones at redhat.com
Mon Aug 6 07:54:44 UTC 2018


On Sun, Aug 05, 2018 at 12:11:04AM +0300, Nir Soffer wrote:
> But we have a bug - server configure to allow access to "export",
> but allow access to the default empty "" export.

nbdkit ignores the export name you pass in and always has done:

https://github.com/libguestfs/nbdkit/blob/a2c4e88af503310892ebce6da3ac478beb47888a/src/connections.c#L626

The -e option on the command line is only for advertizing an export
name to clients.  It is otherwise unused & unenforced.

One day we'll do something useful with it but we're not sure what.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list