summary refs log tree commit diff stats
path: root/blockdev-nbd.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2018-10-03 20:02:27 +0300
committerEric Blake <eblake@redhat.com>2018-10-03 15:48:31 -0500
commitf5cd0bb5174dcd6e8c160d7992fb89f09f264ef0 (patch)
tree4aa9a594c771a186c45ec7e8ebe1f5b64f3aaecc /blockdev-nbd.c
parentf7812df77d7830c6b375066a4e656f3b79232c13 (diff)
downloadfocaccia-qemu-f5cd0bb5174dcd6e8c160d7992fb89f09f264ef0.tar.gz
focaccia-qemu-f5cd0bb5174dcd6e8c160d7992fb89f09f264ef0.zip
qemu-nbd: drop old-style negotiation
Use new-style negotiation always, with default "" (empty) export name
if it is not specified with '-x' option.

qemu as client can manage either style since 2.6.0, commit 69b49502d8

For comparison:

nbd 3.10 dropped oldstyle long ago (Mar 2015):
https://github.com/NetworkBlockDevice/nbd/commit/36940193

nbdkit 1.3 switched its default to newstyle (Jan 2018):
https://github.com/libguestfs/nbdkit/commit/b2a8aecc
https://github.com/libguestfs/nbdkit/commit/8158e773

Furthermore, if a client that only speaks oldstyle still needs to
communicate to qemu, nbdkit remains available to perform the
translation between the two protocols.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20181003170228.95973-2-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: enhance commit message]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions