From: John Ferlan Date: Wed, 6 Feb 2019 22:14:35 +0000 (-0500) Subject: conf: Remove volOptions for VIR_STORAGE_POOL_ISCSI[_DIRECT] X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=85f574600a77c8cc91dff187ee1bb86711d305c5;p=libvirt.git conf: Remove volOptions for VIR_STORAGE_POOL_ISCSI[_DIRECT] 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 ACKed-by: Michal Privoznik --- diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index a2182444ea..51cd12b6ed 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 = {