--- src/conf/storage_conf.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 422e76a..7ed49a1 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -815,6 +815,13 @@ virStoragePoolSourceFormat(virBufferPtr buf, src->name) virBufferVSprintf(buf," <name>%s</name>\n", src->name); + if ((options->flags & VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN) && + src->initiator.iqn) { + virBufferAddLit(buf," <initiator>\n"); + virBufferVSprintf(buf," <iqn name='%s'/>\n", src->initiator.iqn); + virBufferAddLit(buf," </initiator>\n"); + } + if (options->formatToString) { const char *format = (options->formatToString)(src->format); if (!format) { -- 1.7.0.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list