From 88f3f7c3901e0b5455796d4213767dd2a4f48045 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 1 Jul 2014 16:50:06 +0200 Subject: [PATCH] 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 --- src/conf/storage_conf.c | 2 ++ 1 file changed, 2 insertions(+) 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,