]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Remove volOptions for VIR_STORAGE_POOL_ISCSI[_DIRECT]
authorJohn Ferlan <jferlan@redhat.com>
Wed, 6 Feb 2019 22:14:35 +0000 (17:14 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 6 Mar 2019 16:12:48 +0000 (11:12 -0500)
The iscsi and iscsi-direct pools are documented as not using
the volume type, so let's just remove it. Besides it would
have produced bad output since formatting uses the Disk types.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/storage_conf.c

index a2182444eacfebfe54175a85090466f7893d59e7..51cd12b6ed75ad1e6e30bd3f9716e7c5a821f538 100644 (file)
@@ -208,9 +208,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
                    VIR_STORAGE_POOL_SOURCE_DEVICE |
                    VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
       },
-      .volOptions = {
-         .formatToString = virStoragePoolFormatDiskTypeToString,
-      }
     },
     {.poolType = VIR_STORAGE_POOL_ISCSI_DIRECT,
      .poolOptions = {
@@ -219,9 +216,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
                    VIR_STORAGE_POOL_SOURCE_NETWORK |
                    VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
       },
-      .volOptions = {
-         .formatToString = virStoragePoolFormatDiskTypeToString,
-      }
     },
     {.poolType = VIR_STORAGE_POOL_SCSI,
      .poolOptions = {