feat: Disable copy on write for qcow2 disk images on btrfs
According to qemu-img documentation, it is a no-op for other filesystems.
This commit is contained in:
parent
5d1c8dfc4c
commit
e18b7ed591
2
quickemu
2
quickemu
|
|
@ -798,7 +798,7 @@ function configure_storage() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case ${disk_format} in
|
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}";;
|
raw) create_options="preallocation=${preallocation}";;
|
||||||
*) true;;
|
*) true;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue