mirror of https://gitee.com/openkylin/libvirt.git
conf: Remove volOptions for VIR_STORAGE_POOL_SHEEPDOG
The sheepdog pool is documented as not using the volume type, so let's just remove it. Besides it would have produced bad results since the defaultType is FILE but the formatting used the Disk types. Signed-off-by: John Ferlan <jferlan@redhat.com> ACKed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
66a508d2cc
commit
4ad00278f6
|
@ -249,10 +249,6 @@ static virStoragePoolTypeInfo poolTypeInfo[] = {
|
|||
VIR_STORAGE_POOL_SOURCE_NETWORK |
|
||||
VIR_STORAGE_POOL_SOURCE_NAME),
|
||||
},
|
||||
.volOptions = {
|
||||
.defaultFormat = VIR_STORAGE_FILE_RAW,
|
||||
.formatToString = virStoragePoolFormatDiskTypeToString,
|
||||
}
|
||||
},
|
||||
{.poolType = VIR_STORAGE_POOL_GLUSTER,
|
||||
.poolOptions = {
|
||||
|
|
|
@ -6,6 +6,5 @@
|
|||
<allocation unit='bytes'>0</allocation>
|
||||
<target>
|
||||
<path>sheepdog:test2</path>
|
||||
<format type='unknown'/>
|
||||
</target>
|
||||
</volume>
|
||||
|
|
Loading…
Reference in New Issue