[libvirt] Possible to set iSCSI initiator-name?
Richard W.M. Jones
rjones at redhat.com
Sun Jul 6 11:24:23 UTC 2014
Glancing at the libvirt code in git, it doesn't appear to be possible
to set the iSCSI initiator name for domains which are backed with
When qemu contacts the iSCSI target, it sends its own initiator name,
which, if not set, defaults to 'iqn.2008-11.org.linux-kvm'.
Some iSCSI targets have variable configuration keyed on the initiator
name -- that is definitely the case for a userspace iscsi target that
I tested (called pyTarget), and for a libguestfs user's unspecified
qemu lets you override the default initiator name using:
qemu -iscsi initiator-name=iqn.YYYY-MM...
This appears to be a global setting. I'm not clear if it makes sense
or is possible to have multiple initiator names for a single qemu.
I'm not missing something am I?
(Note I'm not talking about storage pools which do have a way to
specify initiator name).
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
More information about the libvir-list