Skip to content

Commit 5e77efd

Browse files
committed
qemu: add warning on 2GB of mem
Github issue #171
1 parent 1e50120 commit 5e77efd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/runners/qemu.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,13 @@ let
146146
else "";
147147

148148

149-
in {
149+
in
150+
lib.warnIf (mem == 2048) ''
151+
QEMU hangs if memory is exactly 2GB
152+
153+
<https://github.com/astro/microvm.nix/issues/171>
154+
''
155+
{
150156
inherit tapMultiQueue;
151157

152158
command = lib.escapeShellArgs (

0 commit comments

Comments
 (0)