diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 9ae1a89a8a..bf86c9342f 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -815,6 +815,13 @@ virStoragePoolSourceFormat(virBufferPtr buf, src->name) virBufferVSprintf(buf," %s\n", src->name); + if ((options->flags & VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN) && + src->initiator.iqn) { + virBufferAddLit(buf," \n"); + virBufferEscapeString(buf," \n", src->initiator.iqn); + virBufferAddLit(buf," \n"); + } + if (options->formatToString) { const char *format = (options->formatToString)(src->format); if (!format) {