[libvirt] [PATCH 04/11] Add support for iSCSI target auto-discovery
Eric Blake
eblake at redhat.com
Fri Nov 19 18:13:59 UTC 2010
On 11/12/2010 09:22 AM, Daniel P. Berrange wrote:
> Since the previous patch added support for parsing the output of
> the 'sendtargets' command, it is now trivial to support the
> storage pool discovery API.
>
> Given a hostname and optional portnumber and initiator IQN,
> the code can return a full list of storage pool source docs,
> each one representing a iSCSI target.
>
> * src/storage/storage_backend_iscsi.c: Wire up target
> auto-discovery
> ---
>
> +static char *
> +virStorageBackendISCSIFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
> + const char *srcSpec,
> + unsigned int flags ATTRIBUTE_UNUSED)
> +{
Should this check that flags==0?
ACK with that nit addressed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101119/5cc18101/attachment-0001.sig>
More information about the libvir-list
mailing list