[libvirt] [PATCH v2 2/2] Add glusterfs to VIR_CONNECT_LIST_STORAGE_POOLS_FILTERS_POOL_TYPE

Christophe Fergeau cfergeau at redhat.com
Thu Feb 6 18:09:06 UTC 2014


If it's not present in this list, we won't be able to get only
glusterfs pools when using virConnectListAllStoragePools.
---
 src/conf/storage_conf.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h
index 62ac749..cada861 100644
--- a/src/conf/storage_conf.h
+++ b/src/conf/storage_conf.h
@@ -575,7 +575,8 @@ VIR_ENUM_DECL(virStoragePartedFsType)
                  VIR_CONNECT_LIST_STORAGE_POOLS_SCSI     | \
                  VIR_CONNECT_LIST_STORAGE_POOLS_MPATH    | \
                  VIR_CONNECT_LIST_STORAGE_POOLS_RBD      | \
-                 VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG)
+                 VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG | \
+                 VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTER)
 
 # define VIR_CONNECT_LIST_STORAGE_POOLS_FILTERS_ALL                  \
                 (VIR_CONNECT_LIST_STORAGE_POOLS_FILTERS_ACTIVE     | \
-- 
1.8.5.3




More information about the libvir-list mailing list