[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v4 30/43] i440fx: Add support for SGX EPC
From: |
Paolo Bonzini |
Subject: |
[PULL v4 30/43] i440fx: Add support for SGX EPC |
Date: |
Wed, 8 Sep 2021 12:04:13 +0200 |
From: Sean Christopherson <sean.j.christopherson@intel.com>
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>
---
hw/i386/pc_piix.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index c5da7739ce..dabb66b51d 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -153,6 +153,10 @@ static void pc_init1(MachineState *machine,
}
}
+ if (x86ms->sgx_epc_list) {
+ pc_machine_init_sgx_epc(pcms);
+ }
+
x86_cpus_init(x86ms, pcmc->default_cpu_version);
if (pcmc->kvmclock_enabled) {
--
2.31.1
- [PULL v4 31/43] hostmem-epc: Add the reset interface for EPC backend reset, (continued)
- [PULL v4 31/43] hostmem-epc: Add the reset interface for EPC backend reset, Paolo Bonzini, 2021/09/08
- [PULL v4 33/43] sgx-epc: Avoid bios reset during sgx epc initialization, Paolo Bonzini, 2021/09/08
- [PULL v4 37/43] docs: standardize book titles to === with overline, Paolo Bonzini, 2021/09/08
- [PULL v4 34/43] hostmem-epc: Make prealloc consistent with qemu cmdline during reset, Paolo Bonzini, 2021/09/08
- [PULL v4 35/43] Kconfig: Add CONFIG_SGX support, Paolo Bonzini, 2021/09/08
- [PULL v4 38/43] docs: standardize directory index to --- with overline, Paolo Bonzini, 2021/09/08
- [PULL v4 41/43] docs/system: Add SGX documentation to the system manual, Paolo Bonzini, 2021/09/08
- [PULL v4 16/43] i386: Add SGX CPUID leaf FEAT_SGX_12_0_EBX, Paolo Bonzini, 2021/09/08
- [PULL v4 30/43] i440fx: Add support for SGX EPC,
Paolo Bonzini <=
- [PULL v4 20/43] i386: Add feature control MSR dependency when SGX is enabled, Paolo Bonzini, 2021/09/08
- [PULL v4 42/43] meson.build: Do not look for VNC-related libraries if have_system is not set, Paolo Bonzini, 2021/09/08
- [PULL v4 43/43] ebpf: only include in system emulators, Paolo Bonzini, 2021/09/08
- Re: [PULL v4 00/43] (Mostly) x86 changes for 2021-09-06, Peter Maydell, 2021/09/09
- Re: [PULL v4 00/43] (Mostly) x86 changes for 2021-09-06, Peter Maydell, 2021/09/11