server: Expose -e in $exportname during --run
commit9bd14237784edc55c0ce41a36229b4a4e65ecc60
authorEric Blake <eblake@redhat.com>
Sat, 28 Sep 2019 03:10:54 +0000 (27 22:10 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 30 Sep 2019 21:29:47 +0000 (30 16:29 -0500)
treed9c3e0226c672f1904c47dadea881ae72933f5d7
parenta0cd924a8a586a84a1b127a00ed39243c03f3811
server: Expose -e in $exportname during --run

Now that the export name can affect contents, we should let --run
favor connecting to the preferred export name passed to nbdkit via the
-e command line option.  In addition to exposing $exportname, update
the recently-added $uri to include the exportname, but leave the older
$nbd alone.

Signed-off-by: Eric Blake <eblake@redhat.com>
docs/nbdkit-captive.pod
server/captive.c
tests/test-long-name.sh