aboutsummaryrefslogtreecommitdiff
path: root/kvmxfile
diff options
context:
space:
mode:
Diffstat (limited to 'kvmxfile')
-rw-r--r--kvmxfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmxfile b/kvmxfile
index 48bc9cc..308a59d 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -149,6 +149,11 @@ xrandr="0"
# Image type: file or device (kvmx-create only)
image_type="file"
+# Discards support
+# See https://jschumacher.info/2020/11/debian-qemu-libvirt-qcow2-and-fstrim/
+# https://chrisirwin.ca/posts/discard-with-kvm-2020/
+image_discards="y"
+
# Image size
size="10G"