]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virISCSIScanTargets: Allow making targets persistent
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 29 Jun 2018 14:18:23 +0000 (16:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 25 Jul 2018 05:11:13 +0000 (07:11 +0200)
commitadfcbdff91767890a60b2034c604ad3e0c58c51b
treeee70e4cab7aeddf50c3ed013412e5fde59d95788
parent2e5ad5881bbe7fa4547d4d116d104e6e6c7dce64
virISCSIScanTargets: Allow making targets persistent

After a new iSCSI interface is successfully set up, we issue a
sendtargets command. However, after 56057900dc53df490d we don't
update the host config which in turn makes login fail because
iscsiadm is unable to find any matching record for the interface.

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