Re: [Qemu-devel] [PATCH v5 3/9] nbd: Expose and debug more NBD constants

2017-07-13 Thread Vladimir Sementsov-Ogievskiy
07.07.2017 23:30, Eric Blake wrote: The NBD protocol has several constants defined in various extensions that we are about to implement. Expose them to the code, along with an easy way to map various constants to strings during diagnostic messages. Signed-off-by: Eric Blake Reviewed-by: Vlad

Re: [Qemu-devel] [PATCH v5 3/9] nbd: Expose and debug more NBD constants

2017-07-07 Thread Eric Blake
On 07/07/2017 03:30 PM, Eric Blake wrote: > The NBD protocol has several constants defined in various extensions > that we are about to implement. Expose them to the code, along with > an easy way to map various constants to strings during diagnostic > messages. > > Signed-off-by: Eric Blake >

[Qemu-devel] [PATCH v5 3/9] nbd: Expose and debug more NBD constants

2017-07-07 Thread Eric Blake
The NBD protocol has several constants defined in various extensions that we are about to implement. Expose them to the code, along with an easy way to map various constants to strings during diagnostic messages. Signed-off-by: Eric Blake --- v5: rebase to master, add command name lookup; enoug