On 03/28/2014 04:01 PM, Peter Krempa wrote:
Use the previously implemented function to lookup glusterfs source
pools
for the netfs pool to lookup native gluster pools too.
---
src/storage/storage_backend_gluster.c | 50 +++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
+
+ if (!srcSpec) {
+ virReportError(VIR_ERR_INVALID_ARG, "%s",
+ _("hostname must be specified for gluster sources"));
Would it make sense to check localhost if srcSpec is NULL?
Again, post-1.2.3, but looks reasonable. ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org