]> Git Repo - qemu.git/commit
block/nbd: refactor nbd connection parameters
authorVladimir Sementsov-Ogievskiy <[email protected]>
Tue, 18 Jun 2019 11:43:24 +0000 (14:43 +0300)
committerEric Blake <[email protected]>
Thu, 15 Aug 2019 18:22:14 +0000 (13:22 -0500)
commit8f071c9db506e03abcb1b76ec6d3d2f9488cc3b3
treecec22ee7cb16e837f02adbb63f60caf598bf9f71
parentb172ae2e0ed38a1d058babe6a788f97c402e0e51
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 <[email protected]>
Message-Id: <20190618114328[email protected]>
Reviewed-by: Eric Blake <[email protected]>
[eblake: Drop useless 'if' before object_unref]
Signed-off-by: Eric Blake <[email protected]>
block/nbd.c
This page took 0.024634 seconds and 4 git commands to generate.