Re: [Qemu-devel] [PATCH 1/2] qemu-nbd: drop old-style negotiation

2018-10-03 Thread Eric Blake
On 10/3/18 12:02 PM, Vladimir Sementsov-Ogievskiy wrote: Use new-style negotiation always, with default "" (empty) export name if it is not specified with '-x' option. If we like this approach (over mine of keeping oldstyle, but via an explicit -O option), then this commit message should add t

[Qemu-devel] [PATCH 1/2] qemu-nbd: drop old-style negotiation

2018-10-03 Thread Vladimir Sementsov-Ogievskiy
Use new-style negotiation always, with default "" (empty) export name if it is not specified with '-x' option. Signed-off-by: Vladimir Sementsov-Ogievskiy --- qemu-nbd.c | 25 ++--- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/qemu-nbd.c b/qemu-nbd.c index 5