Making vm's qemu cache=unsafe. Faster.

I don't think it's unsafe, if it's meant for nix expressions.
This commit is contained in:
Lluís Batlle i Rossell 2016-03-30 09:46:33 +02:00
parent e21dd19168
commit ab93f8c137

@ -220,7 +220,7 @@ rec {
-nographic -no-reboot \
-virtfs local,path=/nix/store,security_model=none,mount_tag=store \
-virtfs local,path=$TMPDIR/xchg,security_model=none,mount_tag=xchg \
-drive file=$diskImage,if=virtio,cache=writeback,werror=report \
-drive file=$diskImage,if=virtio,cache=unsafe,werror=report \
-kernel ${kernel}/${img} \
-initrd ${initrd}/initrd \
-append "console=ttyS0 panic=1 command=${stage2Init} out=$out mountDisk=$mountDisk loglevel=4" \