]> xenbits.xensource.com Git - libvirt.git/commit
Revert "zfs: Only raw volumes are supported"
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 27 Mar 2016 15:07:52 +0000 (11:07 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Sun, 27 Mar 2016 15:11:04 +0000 (11:11 -0400)
commitb77cec09db67aff75313b53c931ad15c1aba27bd
treee074dbe2e82ad29e00047617b5206963da26f1c7
parent139a319794e6042979b9f4c198262fcce1ff18de
Revert "zfs: Only raw volumes are supported"

This reverts commit bb5f2dc91f43f48ff726aa589bdac546738d2980.

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 zfs backend.

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