Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Current Behaviour
$ enarx run target/wasm32-wasi/release/hello-world.wasm
Error: Inappropriate ioctl for device (os error 25)
Expected Behaviour
$ enarx run target/wasm32-wasi/release/hello-world.wasm
[…]
Hello, Enarx!
Environment Information
$ uname -a
Linux ecs-LIFEBOOK-U759 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ enarx --version
enarx 0.7.1
$ enarx platform info
Enarx version 0.7.1
System Info: Linux 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64
✗ Backend: sgx
✗ Driver: /dev/sgx_enclave
✔ CPU: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz | GenuineIntel
✔ SGX Support
✗ Version 1
✗ Version 2
✗ FLC Support
✔ Max Size (32-bit): 1
✔ Max Size (64-bit): 1
✔ MiscSelect: MiscSelect(0x0)
✔ Features: Features(0x0)
✔ Xfrm: XCr0Flags(0x0)
✔ EPC Size: 0
✗ Intel CRL cache file
✗ TCB & FMSPC cache: Missing FMSPC
✗ AESM Daemon Socket: /var/run/aesmd/aesm.socket
Run `enarx platform sgx cache-crl` to generate the Intel CRL cache file
Run `enarx platform sgx cache-pck`
✗ Backend: sev
✗ Driver: /dev/sev
✗ SEV-SNP is enabled in host kernel with the v10 host patches
✔ Driver: /dev/kvm
✔ API Version: 12
✗ CPU: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz | GenuineIntel
✗ Microcode support
✗ Secure Memory Encryption (SME)
✗ Physical address bit reduction
✗ C-bit location in page table entry
✗ Secure Encrypted Virtualization (SEV)
✗ Number of encrypted guests supported simultaneously
✗ Minimum ASID value for SEV-enabled, SEV-ES disabled guest
✗ Secure Encrypted Virtualization Secure Nested Paging (SEV-SNP)
✗ Page Flush MSR available
✗ /dev/sev is readable by user
✗ /dev/sev is writable by user
✔ MEMLOCK rlimit allows for: ~190 keeps (soft limit = 996884480 bytes, hard limit = 996884480 bytes)
✗ SEV-SNP VCEK key cache file: No such file or directory (os error 2)
✗ AMD CRL cache file: Error reading `/var/cache/amd-sev/crls.der`
enarx expects the directory `/var/cache/amd-sev` to exist and be readable
Run `enarx platform snp cache-crl` to generate the AMD CRL cache file.
✔ Backend: kvm
✔ Driver: /dev/kvm
✔ API Version: 12
✔ CPU: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz | GenuineIntel
✔ CPU supports FSGSBASE instructions
✔ CPU supports RDRAND instruction
✔ Backend: nil
Steps To Reproduce
No response