]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virISCSIScanTargets: Honour iSCSI interface
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 29 Jun 2018 14:05:50 +0000 (16:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Jul 2018 05:11:13 +0000 (07:11 +0200)
commit2e5ad5881bbe7fa4547d4d116d104e6e6c7dce64
treeb2a99c71f1b5bcf12b132588589a47c51cdfde6d
parentf28099ddd791652add358de91a77b416c6d4a3d2
virISCSIScanTargets: Honour iSCSI interface

When scanning for targets, iSCSI might give different results
depending on the interface used. This is basically just name of
config file under /etc/iscsi/ifaces to use. The file contains
initiator IQN thus different results claim.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/storage/storage_backend_iscsi.c
src/util/viriscsi.c
src/util/viriscsi.h
tests/viriscsitest.c