Hi all,

On Fri, Nov 27, 2015 at 03:06:51PM +0100, Wouter Verhelst wrote:
> I have been thinking of adding a message NBD_OPT_SELECT_EXPORT to
> replace NBD_OPT_EXPORT_NAME, which would select an export but not end
> negotiation. That would also require another message to end negotiation
> and move on to the transmission phase, obviously.

I've formalized this now, and removed the PEEK_EXPORT extension (which, as you
say, can't be used safely).

> The negotation would then look something like:
> 
> NBD_OPT_SELECT_EXPORT
>  <- NBD_REP_ACK

This has become an NBD_REP_SERVER instead, with (64-bit) export size and
(16-bit) per-export flags appended (rather than yet another flags field).

(the name is also NBD_OPT_SELECT rather than NBD_OPT_SELECT_EXPORT; details)

NBD_OPT_SELECT is 6, NBD_OPT_GO is 7, NBD_REP_ERR_UNKNOWN is 2^31+6.

For more details, see the proto.md document.

Thoughts are welcome.

-- 
It is easy to love a country that is famous for chocolate and beer

  -- Barack Obama, speaking in Brussels, Belgium, 2014-03-26

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to