From: Mark Cave-Ayland <[email protected]>

The Intel SGX instructions only exist on recent CPUs and so would never be 
available
on a CPU from the pre-PCI era.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Xiaoyao Li <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
---
 hw/i386/pc_piix.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 57b02da5a82..9a2eee8ab0a 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -541,7 +541,6 @@ static void pc_init_isa(MachineState *machine)
         }
     }
 
-    pc_machine_init_sgx_epc(pcms);
     x86_cpus_init(x86ms, pcmc->default_cpu_version);
 
     if (kvm_enabled()) {
-- 
2.51.0


Reply via email to