diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2021-07-19 19:21:23 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-30 15:30:24 +0200 |
commit | 97488c635e2785281baeeb31b1a3340efc848ad1 (patch) | |
tree | b6575a71f6b5d107db43e5d143557c0020f44465 /hw/i386 | |
parent | c8a9899c1adc66a0dcf8f9658a1290a41bc70c2a (diff) | |
download | qemu-97488c635e2785281baeeb31b1a3340efc848ad1.zip qemu-97488c635e2785281baeeb31b1a3340efc848ad1.tar.gz qemu-97488c635e2785281baeeb31b1a3340efc848ad1.tar.bz2 |
q35: 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-21-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc_q35.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 46cd542..5481d5c 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); |