git.iko.soy/typeable/nixpkgs
on master help sign in
vmTools: set msize to 128KiB

500KiB was causing issues https://github.com/NixOS/nixpkgs/pull/142577

commite2ab6321ed156e0bc9479c118c80db691bff935a authorArtturin <Artturin@artturin.com> dateSat 20 Nov 2021, 20:34 (5 years ago) parentc247bf8
1 file changed+3−2
pkgs/build-support/vm/default.nix+3−2
pkgs/build-support/vm/default.nix+3−2
@@ -1177,6 +1177,7 @@ rec {
11771177 # The default 9P msize value is 8 KiB, which according to QEMU is
11781178 # insufficient and would degrade performance.
11791179 # See: https://wiki.qemu.org/Documentation/9psetup#msize
1180− # Use 500 KiB as a conservative default, see also https://github.com/NixOS/nixpkgs/pull/142577#issuecomment-953848731
1181− default9PMsizeBytes = 512000;
1180+ # Use 128KiB which is the default in linux 5.15+
1181+ # https://github.com/torvalds/linux/commit/9c4d94dc9a64426d2fa0255097a3a84f6ff2eebe
1182+ default9PMsizeBytes = 128 * 1024;
11821183}