From 4b5c9678d17f135e77ddab7c2643949fb2408048 Mon Sep 17 00:00:00 2001
From: Tim Wiederhake <twiederh@redhat.com>
Date: Wed, 19 Oct 2022 15:36:16 +0200
Subject: [PATCH] cpu_map: Add missing x86 feature "sgx-exinfo"

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
---
 src/cpu_map/x86_features.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml
index c9935a0ef9..75186656c1 100644
--- a/src/cpu_map/x86_features.xml
+++ b/src/cpu_map/x86_features.xml
@@ -418,6 +418,11 @@
     <cpuid eax_in='0x0f' ecx_in='0x01' edx='0x00000004'/>
   </feature>
 
+  <!-- cpuid level 0x00000012 ecx 0x0 features -->
+  <feature name='sgx-exinfo'>
+    <cpuid eax_in='0x12' ecx_in='0x00' ebx='0x00000001'/>
+  </feature>
+
   <!-- extended features, EDX -->
   <feature name='syscall'>
     <cpuid eax_in='0x80000001' edx='0x00000800'/>