mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
logical: Only raw volumes are supported
This commit is contained in:
1 parent
98ee86e76c
commit
6682d6219d
1 file changed
+6
@@ -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 "
|
||||
|
||||
Reference in new issue
Block a user