mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
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 <jferlan@redhat.com> ACKed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
d893ce1574
commit
85f574600a
@ -208,9 +208,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
|
|||||||
VIR_STORAGE_POOL_SOURCE_DEVICE |
|
VIR_STORAGE_POOL_SOURCE_DEVICE |
|
||||||
VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
|
VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
|
||||||
},
|
},
|
||||||
.volOptions = {
|
|
||||||
.formatToString = virStoragePoolFormatDiskTypeToString,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{.poolType = VIR_STORAGE_POOL_ISCSI_DIRECT,
|
{.poolType = VIR_STORAGE_POOL_ISCSI_DIRECT,
|
||||||
.poolOptions = {
|
.poolOptions = {
|
||||||
@ -219,9 +216,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
|
|||||||
VIR_STORAGE_POOL_SOURCE_NETWORK |
|
VIR_STORAGE_POOL_SOURCE_NETWORK |
|
||||||
VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
|
VIR_STORAGE_POOL_SOURCE_INITIATOR_IQN),
|
||||||
},
|
},
|
||||||
.volOptions = {
|
|
||||||
.formatToString = virStoragePoolFormatDiskTypeToString,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{.poolType = VIR_STORAGE_POOL_SCSI,
|
{.poolType = VIR_STORAGE_POOL_SCSI,
|
||||||
.poolOptions = {
|
.poolOptions = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user