Re: [libvirt] [PATCH v3 2/3] storage: add SetConnection to iscsi-direct backend

2018-08-13 Thread Michal Prívozník
On 08/13/2018 12:26 AM, c...@lse.epita.fr wrote: > From: Clementine Hayat > > 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 > --- > src/storage/storage_backend_iscsi_direct.c | 38

[libvirt] [PATCH v3 2/3] storage: add SetConnection to iscsi-direct backend

2018-08-12 Thread clem
From: Clementine Hayat 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 --- src/storage/storage_backend_iscsi_direct.c | 38 +++--- 1 file changed, 26 insertions(+), 12 del