]> git.ipfire.org Git - thirdparty/qemu.git/commit
nbd/client: Pull out oldstyle size determination
authorEric Blake <eblake@redhat.com>
Thu, 17 Jan 2019 19:36:52 +0000 (13:36 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 21 Jan 2019 21:49:52 +0000 (15:49 -0600)
commitb3c9d33bc4e7c2ab2828b16ebc96f0414b0f1acf
treedd9a0c1b29671058f4cdbf8d8b668eb3d23d4898
parent10b89988d6b0f5f2aed794bed5b4e774858548f4
nbd/client: Pull out oldstyle size determination

Another refactoring creating nbd_negotiate_finish_oldstyle()
for further reuse during 'qemu-nbd --list'.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <20190117193658.16413-16-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
nbd/client.c