
24 Oct
2022
24 Oct
'22
2:51 p.m.
On Wed, Oct 19, 2022 at 18:56:10 +0200, Tim Wiederhake wrote:
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> --- src/cpu_map/x86_features.xml | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml index 5b9e61a3d0..aa3d6958bf 100644 --- a/src/cpu_map/x86_features.xml +++ b/src/cpu_map/x86_features.xml @@ -415,6 +415,10 @@ <cpuid eax_in='0x12' ecx_in='0x00' ebx='0x00000001'/> </feature>
+ <feature name='sgx1'> + <cpuid eax_in='0x12' ecx_in='0x00' ecx='0x00000001'/> + </feature>
QEMU defines this in FEAT_SGX_12_0_EAX (.cpuid.reg = R_EAX) while you have 'ecx' Jirka