astro / microvm.nix

NixOS MicroVMs
https://astro.github.io/microvm.nix/
MIT License
1.25k stars 94 forks source link

qemu: fix crash when using sgx #213

Closed 999eagle closed 6 months ago

999eagle commented 6 months ago

This is the bare-minimum fix to make sure the qemu runner doesn't crash on hosts with SGX available. I'm open for ideas on how to make this configurable if that's necessary.

Fixes: #212 Upstream issue: https://gitlab.com/qemu-project/qemu/-/issues/2142

astro commented 6 months ago

Looks promising. Thank you!