From e18b7ed59149d8b440bb111d188e0725e9e9fe78 Mon Sep 17 00:00:00 2001 From: Luke Yelavich <9444357+TheMuso@users.noreply.github.com> Date: Wed, 22 May 2024 08:59:28 +1000 Subject: [PATCH] feat: Disable copy on write for qcow2 disk images on btrfs According to qemu-img documentation, it is a no-op for other filesystems. --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 451de95..f2bd9df 100755 --- a/quickemu +++ b/quickemu @@ -798,7 +798,7 @@ function configure_storage() { esac case ${disk_format} in - qcow2) create_options="lazy_refcounts=on,preallocation=${preallocation}";; + qcow2) create_options="lazy_refcounts=on,preallocation=${preallocation},nocow=on";; raw) create_options="preallocation=${preallocation}";; *) true;; esac