]> xenbits.xensource.com Git - libvirt.git/commit
Revert "logical: Only raw volumes are supported"
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 27 Mar 2016 14:59:22 +0000 (10:59 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Sun, 27 Mar 2016 15:09:53 +0000 (11:09 -0400)
commit139a319794e6042979b9f4c198262fcce1ff18de
tree4ca63bafd9fc8cada9e5ac4ceb6ab01a6b5dde02
parent420eff8f26ef192e69978f9c0ff4e61aa5274f45
Revert "logical: Only raw volumes are supported"

This reverts commit 6682d6219d4595b51f06867e0c30e7efd745f682.

The "if (vol->target.format != VIR_STORAGE_FILE_RAW)" check in the
createVol backend. This check is bogus because virStorageVolDefParseXML()
in conf/storage_conf.c sets target.format only if volOptions in
virStoragePoolTypeInfo has formatFromString set, and that's not the
case the logical backend.

So the check always fails and breaks volume creation.
src/storage/storage_backend_logical.c