From: Sean Christopherson Date: Mon, 19 Jul 2021 11:21:23 +0000 (+0800) Subject: q35: Add support for SGX EPC X-Git-Tag: v6.2.0-rc0~79^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97488c635e2785281baeeb31b1a3340efc848ad1;p=thirdparty%2Fqemu.git q35: Add support for SGX EPC Enable SGX EPC virtualization, which is currently only support by KVM. Signed-off-by: Sean Christopherson Signed-off-by: Yang Zhong Message-Id: <20210719112136.57018-21-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini --- diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 46cd542d171..5481d5c9651 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -177,6 +177,7 @@ static void pc_q35_init(MachineState *machine) x86ms->below_4g_mem_size = machine->ram_size; } + pc_machine_init_sgx_epc(pcms); x86_cpus_init(x86ms, pcmc->default_cpu_version); kvmclock_create(pcmc->kvmclock_create_always);