Open bronzeMe opened 2 weeks ago
Hi @bronzeMe
Could you provide the modified HyperEnclave-Driver mode?
To better understand what happens on your platform, could you show which line of code causes these error:
[ERROR][108] [src/arch/x86_64/intel/mod.rs:51:18] I/O error: VmFailInvalid
[ERROR][42] [src/arch/x86_64/intel/mod.rs:51:18] I/O error: VmFailInvalid
[ERROR][0] [src/arch/x86_64/intel/mod.rs:51:18] I/O error: VmFailInvalid
[ERROR][71] [src/arch/x86_64/intel/mod.rs:51:18] I/O error: VmFailInvalid
[ERROR][61] [src/arch/x86_64/intel/mod.rs:51:18] I/O error: VmFailInvalid
[ERROR][33] [src/arch/x86_64/intel/mod.rs:51:18] I/O error: VmFailInvalid
An 'I/O error: VmFailInvalid' occurred when trying to enable Intel MKTME, which was just a very simple attempt and is still under debugging.
You can find the simple patch codes at mktme test
Step1: Programming (initializing) an MKTME KeyID (keyid == 1) using the PCONFIG instruction via a kernel module. The implementation of the kernel module is referenced at Program new PCONFIG targets with MKTME keys
Step2: Start the patched hyperenclave.
The following are the serial port logs from ipmitool tool.
We are still debugging this issue, and any suggestions or tips you could provide would be greatly appreciated, as they could help speed up the process.
Thanks.