commit | 3d9136f972d3dc678fc46de8fc126ba00a46508e | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Feb 15 19:13:47 2018 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Mar 09 15:17:47 2018 +0100 |
tree | 87666e31d121b478a86d9126d8b83305a7b85b77 | |
parent | 71c87815f9e0386b6f3e22942adc956fd603c82f [diff] |
rbd: Factor out qemu_rbd_connect() The code to establish an RBD connection is duplicated between open and create. In order to be able to share the code, factor out the code from qemu_rbd_open() as a first step. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>