]> 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)
committerCole Robinson <crobinso@redhat.com>
Thu, 11 Jul 2013 21:46:53 +0000 (17:46 -0400)
commit3b6bc5eda68c4105e07674411ec9e530cd7f000e
tree74d00135fdbebdd7d730950c729a4031b2c81782
parent818a9331415a856fa944aa3e22cd6a9b55f79498
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

(cherry picked from commit cbdb3c7326f7298d57233d835a5966df2e359d99)
src/storage/storage_backend_iscsi.c