Re: [PATCH 06/11] Allow iSCSI IQN to be set with find-storage-pool-sources-as command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]