diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-06-18 14:43:24 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2019-08-15 13:22:14 -0500 |
commit | 8f071c9db506e03abcb1b76ec6d3d2f9488cc3b3 (patch) | |
tree | cec22ee7cb16e837f02adbb63f60caf598bf9f71 /util | |
parent | b172ae2e0ed38a1d058babe6a788f97c402e0e51 (diff) |
block/nbd: refactor nbd connection parameters
We'll need some connection parameters to be available all the time to
implement nbd reconnect. So, let's refactor them: define additional
parameters in BDRVNBDState, drop them from function parameters, drop
nbd_client_init and separate options parsing instead from nbd_open.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190618114328.55249-6-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: Drop useless 'if' before object_unref]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions