summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-11-21 00:55:19 +0200
committerArtturin <Artturin@artturin.com>2021-11-21 01:13:54 +0200
commitd1c3a49fdd110aee082467af8e9ae8213613971e (patch)
tree0440053eca75f6bb4ead82597f63a9bfa723de39
parent09b01aa435a5214376d71a787717c07bed60ed4c (diff)
downloadnixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.tar
nixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.tar.gz
nixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.tar.bz2
nixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.tar.lz
nixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.tar.xz
nixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.tar.zst
nixpkgs-d1c3a49fdd110aee082467af8e9ae8213613971e.zip
vmTools: set msize to 16KiB temporarily
hopefully this will reduce the ram usage enough
-rw-r--r--pkgs/build-support/vm/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix
index e403b27d969..09a56fda7b7 100644
--- a/pkgs/build-support/vm/default.nix
+++ b/pkgs/build-support/vm/default.nix
@@ -1179,5 +1179,6 @@ rec {
   # See: https://wiki.qemu.org/Documentation/9psetup#msize
   # Use 128KiB which is the default in linux 5.15+
   # https://github.com/torvalds/linux/commit/9c4d94dc9a64426d2fa0255097a3a84f6ff2eebe
-  default9PMsizeBytes = 128 * 1024;
+  # TODO: actually set it to 128KiB, it was causing failures in many tests due to memory usage
+  default9PMsizeBytes = 16 * 1024;
 }