Skip to content

Commit 8d211e7

Browse files
Merge remote-tracking branch 'origin/4.19'
2 parents cc8dc84 + 3f2761e commit 8d211e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ private KVMPhysicalDisk createPhysicalDiskByQemuImg(String name, KVMStoragePool
848848
destFile.setFormat(format);
849849
destFile.setSize(size);
850850
Map<String, String> options = new HashMap<String, String>();
851-
if (pool.getType() == StoragePoolType.NetworkFilesystem){
851+
if (List.of(StoragePoolType.NetworkFilesystem, StoragePoolType.Filesystem).contains(pool.getType())) {
852852
options.put("preallocation", QemuImg.PreallocationType.getPreallocationType(provisioningType).toString());
853853
}
854854

ui/public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@
13751375
"label.miniops": "Min IOPS",
13761376
"label.minmaxiops": "Min IOPS / Max IOPS",
13771377
"label.minmembers": "Min members",
1378-
"label.minmemory": "Min memory (in MB)",
1378+
"label.minmemory": "Min. memory (MiB)",
13791379
"label.minorsequence": "Minor Sequence",
13801380
"label.minsize": "Minimum size",
13811381
"label.minute.past.hour": "minute(s) past the hour",

0 commit comments

Comments
 (0)