conf: storage: Add volume feature formatter for gluster pools

Libvirt didn't output feature flags for images stored on native gluster.
Fix this trivially by adding a feature formatter callback.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1095035
This commit is contained in:
Peter Krempa 2014-07-01 16:50:06 +02:00
parent fb62d31151
commit 88f3f7c390

View File

@ -258,6 +258,8 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
.defaultFormat = VIR_STORAGE_FILE_RAW, .defaultFormat = VIR_STORAGE_FILE_RAW,
.formatToString = virStorageFileFormatTypeToString, .formatToString = virStorageFileFormatTypeToString,
.formatFromString = virStorageVolumeFormatFromString, .formatFromString = virStorageVolumeFormatFromString,
.featureFromString = virStorageFileFeatureTypeFromString,
.featureToString = virStorageFileFeatureTypeToString,
} }
}, },
{.poolType = VIR_STORAGE_POOL_MPATH, {.poolType = VIR_STORAGE_POOL_MPATH,