]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: add SetConnection to iscsi-direct backend
authorClementine Hayat <clem@lse.epita.fr>
Sun, 12 Aug 2018 22:26:17 +0000 (00:26 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Aug 2018 06:20:06 +0000 (08:20 +0200)
commite68426f0ad600e6fcc2dca515f5898017ca0fa2a
treeb253dbce0712fbeb71f28598dd42a745ee852ae2
parent14bfe9fa8479dc204bff2090f8493afb4a43a9a9
storage: add SetConnection to iscsi-direct backend

The code to set the connection and connect using libiscsi will always be
the same. Add function to avoid code duplication.

Signed-off-by: Clementine Hayat <clem@lse.epita.fr>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/storage/storage_backend_iscsi_direct.c