[libvirt] [PATCH v2 02/17] conf: Remove volOptions for VIR_STORAGE_POOL_RBD

John Ferlan jferlan at redhat.com
Tue Feb 12 15:28:01 UTC 2019


The rbd pool is documented as not using the volume type,
so let's just remove it.

Signed-off-by: John Ferlan <jferlan at redhat.com>
---
 src/conf/storage_conf.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
index 703093d3b5..c303898e0d 100644
--- a/src/conf/storage_conf.c
+++ b/src/conf/storage_conf.c
@@ -237,11 +237,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
                    VIR_STORAGE_POOL_SOURCE_NETWORK |
                    VIR_STORAGE_POOL_SOURCE_NAME),
       },
-      .volOptions = {
-          .defaultFormat = VIR_STORAGE_FILE_RAW,
-          .formatFromString = virStorageVolumeFormatFromString,
-          .formatToString = virStorageFileFormatTypeToString,
-      }
     },
     {.poolType = VIR_STORAGE_POOL_SHEEPDOG,
      .poolOptions = {
-- 
2.20.1




More information about the libvir-list mailing list