[PATCH 4/5] conf: Remove volOptions for VIR_STORAGE_POOL_ISCSI[_DIRECT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 src/conf/storage_conf.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
index 085501b118..264e5827b0 100644
--- a/src/conf/storage_conf.c
+++ b/src/conf/storage_conf.c
@@ -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 = {
-- 
2.20.1

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux