Merge pull request #146783 from Artturin/msize1
This commit is contained in:
commit
5e560c4e24
|
@ -51,6 +51,7 @@ in makeTest {
|
|||
connect-timeout = 1
|
||||
'';
|
||||
|
||||
virtualisation.memorySize = 2048;
|
||||
virtualisation.diskSize = 8 * 1024;
|
||||
virtualisation.emptyDiskImages = [
|
||||
# Small root disk for installer
|
||||
|
|
|
@ -1177,6 +1177,7 @@ rec {
|
|||
# The default 9P msize value is 8 KiB, which according to QEMU is
|
||||
# insufficient and would degrade performance.
|
||||
# See: https://wiki.qemu.org/Documentation/9psetup#msize
|
||||
# Use 500 KiB as a conservative default, see also https://github.com/NixOS/nixpkgs/pull/142577#issuecomment-953848731
|
||||
default9PMsizeBytes = 512000;
|
||||
# Use 128KiB which is the default in linux 5.15+
|
||||
# https://github.com/torvalds/linux/commit/9c4d94dc9a64426d2fa0255097a3a84f6ff2eebe
|
||||
default9PMsizeBytes = 128 * 1024;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue