]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Revert "conf: Remove volOptions for VIR_STORAGE_POOL_RBD"
authorJán Tomko <jtomko@redhat.com>
Fri, 12 Jul 2019 14:13:17 +0000 (16:13 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 12 Jul 2019 15:09:43 +0000 (17:09 +0200)
commit5d74619329a2063efc8028536b3f8acc8e949f88
tree54d56d1def2ae2c0ed00f4acc2fb1be48cba1240
parent9b7c4048fa0559fd81d57b7f7d13b1dccd6a99b2
Revert "conf: Remove volOptions for VIR_STORAGE_POOL_RBD"

This reverts commit 035db37394ad11a39d47f8bd2b6a8a2734283cbf

Even though we only allow using RBD with raw volumes,
removing the options and the default format causes our
parser not to fill out the volume format and the backend code
rejects creating a non-raw volume.

Re-introduce the volume options to fix volume creation while
erroring out on requests to use non-raw formats.

https://bugzilla.redhat.com/show_bug.cgi?id=1724065

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/storage_conf.c
tests/storagepoolcapsschemadata/poolcaps-fs.xml
tests/storagepoolcapsschemadata/poolcaps-full.xml