Skip to content

Commit

Permalink
qemu: add warning on 2GB of mem
Browse files Browse the repository at this point in the history
Github issue #171
  • Loading branch information
astro committed Oct 12, 2024
1 parent 1e50120 commit 5e77efd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/runners/qemu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,13 @@ let
else "";


in {
in
lib.warnIf (mem == 2048) ''
QEMU hangs if memory is exactly 2GB
<https://github.com/astro/microvm.nix/issues/171>
''
{
inherit tapMultiQueue;

command = lib.escapeShellArgs (
Expand Down

0 comments on commit 5e77efd

Please sign in to comment.