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

John Ferlan posted 17 patches 6 years, 12 months ago
[libvirt] [PATCH v2 02/17] conf: Remove volOptions for VIR_STORAGE_POOL_RBD
Posted by John Ferlan 6 years, 12 months ago
The rbd pool is documented as not using the volume type,
so let's just remove it.

Signed-off-by: John Ferlan <jferlan@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list