Re: [Qemu-devel] [PATCH 07/18] nbd: Treat flags vs. command type as separate fields

2016-04-09 Thread Alex Bligh
On 8 Apr 2016, at 23:05, Eric Blake wrote: > Current upstream NBD documents that requests have a 16-bit flags, > followed by a 16-bit type integer; although older versions mentioned > only a 32-bit field with masking to find flags. Since the protocol > is in network order (big-endian over the w

[Qemu-devel] [PATCH 07/18] nbd: Treat flags vs. command type as separate fields

2016-04-08 Thread Eric Blake
Current upstream NBD documents that requests have a 16-bit flags, followed by a 16-bit type integer; although older versions mentioned only a 32-bit field with masking to find flags. Since the protocol is in network order (big-endian over the wire), the ABI is unchanged; but dealing with the flags