Re: [Qemu-devel] [PATCH v4 4/8] nbd: Expose and debug more NBD constants

2017-02-21 Thread Marc-André Lureau
On Tue, Feb 21, 2017 at 6:54 AM 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. > > Doing this points out

[Qemu-devel] [PATCH v4 4/8] nbd: Expose and debug more NBD constants

2017-02-20 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. Doing this points out a debug message in server.c that got parameters mixed up. Sig