Re: [Qemu-devel] [PATCH v5 07/14] nbd: Share common option-sending code in client

2016-07-18 Thread Fam Zheng
On Mon, 07/18 22:07, Eric Blake wrote: > Rather than open-coding each option request, it's easier to > have common helper functions do the work. That in turn requires > having convenient packed types for handling option requests > and replies. > > Signed-off-by: Eric Blake > > --- > v4: rebase

[Qemu-devel] [PATCH v5 07/14] nbd: Share common option-sending code in client

2016-07-18 Thread Eric Blake
Rather than open-coding each option request, it's easier to have common helper functions do the work. That in turn requires having convenient packed types for handling option requests and replies. Signed-off-by: Eric Blake --- v4: rebase v3: rebase, tweak a debug message --- include/block/nbd.