mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-02 13:05:28 +02:00
Merge bd5c5974fb
into 9cfc4f6ed7
This commit is contained in:
commit
cc5b67c4e3
2
quickemu
2
quickemu
|
@ -623,7 +623,7 @@ function configure_storage() {
|
|||
esac
|
||||
|
||||
# https://blog.programster.org/qcow2-performance
|
||||
if ! ${QEMU_IMG} create -q -f "${disk_format}" -o lazy_refcounts=on,preallocation="${preallocation}" "${disk_img}" "${disk_size}"; then
|
||||
if ! ${QEMU_IMG} create -q -f "${disk_format}" -o lazy_refcounts=on,preallocation="${preallocation}",nocow=on "${disk_img}" "${disk_size}"; then
|
||||
echo "ERROR! Failed to create ${disk_img} using ${disk_format} format."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user