diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2016-03-30 09:46:33 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2016-03-31 09:27:25 +0200 |
commit | ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e (patch) | |
tree | 243d99b04061698a67abd6fa24127e9c27e76706 /pkgs/build-support/vm | |
parent | e21dd19168a726f749a00bc96950ce2e09f9eecd (diff) | |
download | nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.tar nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.tar.gz nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.tar.bz2 nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.tar.lz nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.tar.xz nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.tar.zst nixlib-ab93f8c137ac8d7d67f42c24aa3844f6cd233d2e.zip |
Making vm's qemu cache=unsafe. Faster.
I don't think it's unsafe, if it's meant for nix expressions.
Diffstat (limited to 'pkgs/build-support/vm')
-rw-r--r-- | pkgs/build-support/vm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index cddca950ef48..c11c21170e01 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -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" \ |