From: Peter Krempa Date: Tue, 1 Jul 2014 14:50:06 +0000 (+0200) Subject: conf: storage: Add volume feature formatter for gluster pools X-Git-Tag: v1.2.6~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88f3f7c3901e0b5455796d4213767dd2a4f48045;p=thirdparty%2Flibvirt.git 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 --- diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 8b6fd79086..c8df5b2b83 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -258,6 +258,8 @@ static virStoragePoolTypeInfo poolTypeInfo[] = { .defaultFormat = VIR_STORAGE_FILE_RAW, .formatToString = virStorageFileFormatTypeToString, .formatFromString = virStorageVolumeFormatFromString, + .featureFromString = virStorageFileFeatureTypeFromString, + .featureToString = virStorageFileFeatureTypeToString, } }, {.poolType = VIR_STORAGE_POOL_MPATH,