From: Richard Laager Date: Tue, 15 Mar 2016 06:17:34 +0000 (-0500) Subject: logical: Only raw volumes are supported X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6682d6219d4595b51f06867e0c30e7efd745f682;p=libvirt.git logical: Only raw volumes are supported --- diff --git a/src/storage/storage_backend_logical.c b/src/storage/storage_backend_logical.c index 90a194ebc4..39e8b80ed0 100644 --- a/src/storage/storage_backend_logical.c +++ b/src/storage/storage_backend_logical.c @@ -912,6 +912,12 @@ virStorageBackendLogicalCreateVol(virConnectPtr conn, struct stat sb; bool created = false; + if (vol->target.format != VIR_STORAGE_FILE_RAW) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("only RAW volumes are supported by this storage pool")); + return -1; + } + if (vol->target.encryption != NULL) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("storage pool does not support encrypted "