]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add glusterfs to VIR_CONNECT_LIST_STORAGE_POOLS_FILTERS_POOL_TYPE
authorChristophe Fergeau <cfergeau@redhat.com>
Thu, 6 Feb 2014 15:12:14 +0000 (16:12 +0100)
committerChristophe Fergeau <cfergeau@redhat.com>
Fri, 7 Feb 2014 09:26:46 +0000 (10:26 +0100)
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

index 62ac749743a0d25a200ca2057c53ff2434aa7088..cada861a5c8836fcf207319903e8d9bb14adf360 100644 (file)
@@ -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     | \