On 11/12/2010 09:22 AM, Daniel P. Berrange wrote: > Allow an iSCSI initiator IQN to be set with the XML for the > find-storage-pool-sources-as virsh command > > * tools/virsh.c: Add iSCSI IQN support > --- > tools/virsh.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > @@ -5782,6 +5787,11 @@ cmdPoolDiscoverSourcesAs(vshControl * ctl, const vshCmd * cmd ATTRIBUTE_UNUSED) > if (port) > virBufferVSprintf(&buf, " port='%s'", port); > virBufferAddLit(&buf, "/>\n"); > + if (initiator) { > + virBufferAddLit(&buf, " <initiator>\n"); > + virBufferVSprintf(&buf, " <iqn name='%s'/>\n", initiator); > + virBufferAddLit(&buf, " </initiator>\n"); > + } Yep, answering my own question on patch 5/11, you stuck something in the middle. ACK. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list