summaryrefslogtreecommitdiffstats
path: root/hw/i386
diff options
context:
space:
mode:
authorSean Christopherson2021-07-19 13:21:24 +0200
committerPaolo Bonzini2021-09-30 15:30:24 +0200
commitfb6986a20eb0b6573bb90fabcd7cfbe69bc53b11 (patch)
tree430cd973f8121e1ca8d4684d009d69e9b7b393dd /hw/i386
parentq35: Add support for SGX EPC (diff)
downloadqemu-fb6986a20eb0b6573bb90fabcd7cfbe69bc53b11.tar.gz
qemu-fb6986a20eb0b6573bb90fabcd7cfbe69bc53b11.tar.xz
qemu-fb6986a20eb0b6573bb90fabcd7cfbe69bc53b11.zip
i440fx: Add support for SGX EPC
Enable SGX EPC virtualization, which is currently only support by KVM. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <20210719112136.57018-22-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r--hw/i386/pc_piix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index c5da7739ce..6cc834aff6 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -153,6 +153,7 @@ static void pc_init1(MachineState *machine,
}
}
+ pc_machine_init_sgx_epc(pcms);
x86_cpus_init(x86ms, pcmc->default_cpu_version);
if (pcmc->kvmclock_enabled) {