On a Tuesday in 2020, Peter Krempa wrote:
We already allow controlling the initiator IQN for iSCSI based disks.
Add the same for host devices.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
Rebased on top of the latest patch to convert formatdomain to rst and
fixed 'since' tag.
docs/formatdomain.rst | 4 ++++
docs/schemas/domaincommon.rng | 3 +++
src/conf/domain_conf.c | 5 +++++
.../hostdev-scsi-virtio-scsi.x86_64-4.1.0.args | 3 ++-
.../hostdev-scsi-virtio-scsi.x86_64-latest.args | 1 +
tests/qemuxml2argvdata/hostdev-scsi-virtio-scsi.xml | 3 +++
tests/qemuxml2xmloutdata/hostdev-scsi-virtio-scsi.xml | 3 +++
7 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index a39e0c4adf..4372b79061 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -3909,6 +3909,10 @@ or:
same ``name`` attribute and optionally using the ``auth`` element to
provide the authentication credentials to the iSCSI server.
+ :since:`Since 6.7.0`, the optional ``initiator`` sub-element controls the
+ IQN of the initiator ran by the hypervisor via it's ``<iqn
name='iqn...'``
*its
Also, please add the example to the giant code block above.
+ subelement.
+
``scsi_host``
:since:`Since 2.5.0` , multiple LUNs behind a single SCSI HBA are
described by a ``protocol`` attribute set to "vhost" and a ``wwpn``
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano