I've found this issue by trying to connect from qemu (I've specified a list of offers in the cli code), listing the exports with nbd-client doesn't work either:
~/src $ qemu-img convert nbd:0.0.0.0:10809:exportname=test -O qcow2 /tmp/out
qemu-img: Could not open 'nbd:0.0.0.0:10809:exportname=test': incorrect option name length
~/src $ nbd-client -l localhost
Negotiation: ..
E: export name on server too long
~/src $ nbd-client -l 0.0.0.0
Negotiation: ..
E: export name on server too long
I've found this issue by trying to connect from qemu (I've specified a list of
offers
in the cli code), listing the exports withnbd-client
doesn't work either:The TCP stream:
The commands are