Skip to content

Commit

Permalink
qemu: fix crash when using sgx
Browse files Browse the repository at this point in the history
  • Loading branch information
999eagle authored and astro committed Mar 8, 2024
1 parent 7f93206 commit 3563657
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/runners/qemu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ let
if microvmConfig.cpu != null
then microvmConfig.cpu
else if system == "x86_64-linux"
then "host,+x2apic"
# qemu crashes when sgx is used on microvm machines: https://gitlab.com/qemu-project/qemu/-/issues/2142
then "host,+x2apic,-sgx"
else "host"
) ];

Expand Down

0 comments on commit 3563657

Please sign in to comment.