From 48977cf4c193acbc2e57f2c6a34269faf4723b75 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 8 Jan 2022 16:18:57 -0300 Subject: Feat: TRIM support using image_discards option --- kvmxfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kvmxfile') 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" -- cgit v1.2.3