Skip to content

Commit

Permalink
q35: Add support for SGX EPC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sean Christopherson authored and bonzini committed Sep 30, 2021
1 parent c8a9899 commit 97488c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/i386/pc_q35.c
Expand Up @@ -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);
Expand Down

0 comments on commit 97488c6

Please sign in to comment.