mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
* Increase the number of loopback devices from the default (8),
which is way too small because every VM virtual disk requires a loopback device. svn path=/nixos/trunk/; revision=24988
This commit is contained in:
parent
d5fb41795f
commit
8e168edebc
@ -79,6 +79,14 @@ in
|
||||
# as it's loaded, so don't load it.
|
||||
boot.blacklistedKernelModules = [ "radeonfb" ];
|
||||
|
||||
# Increase the number of loopback devices from the default (8),
|
||||
# which is way too small because every VM virtual disk requires a
|
||||
# loopback device.
|
||||
boot.extraModprobeConfig =
|
||||
''
|
||||
options loop max_loop=64
|
||||
'';
|
||||
|
||||
virtualisation.xen.bootParams =
|
||||
[ "loglvl=all" "guest_loglvl=all" ] ++
|
||||
optional (cfg.domain0MemorySize != 0) "dom0_mem=${toString cfg.domain0MemorySize}M";
|
||||
|
Loading…
Reference in New Issue
Block a user