]> git.ipfire.org Git - thirdparty/libvirt.git/commit
iscsi: pass hostnames to iscsiadm instead of resolving them
authorJán Tomko <jtomko@redhat.com>
Thu, 6 Jun 2013 12:00:13 +0000 (14:00 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 7 Jun 2013 13:16:04 +0000 (15:16 +0200)
commitcbdb3c7326f7298d57233d835a5966df2e359d99
treea1d9e7654fabe0e72c271e63a38cd16173ae09e9
parente31b5cf393857a6ca78d148c19393e28dfb39de1
iscsi: pass hostnames to iscsiadm instead of resolving them

iscsiadm now supports specifying hostnames in the portal argument [1]

Instead of resolving the hostname to a single IPv4 address, pass the
hostname to isciadm, allowing IPv6 targets to work.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=624437
src/storage/storage_backend_iscsi.c