aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorYang Zhong <yang.zhong@intel.com>2021-07-19 19:21:34 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-30 14:50:19 +0200
commit2f44bea907bb76adc511de5ba733c5164eedbce8 (patch)
tree2b5bb422a754d22923eacb1613c8f3691626d99f /hw
parent56918a126ae25383cb0c2c74a6f0f784a6d59ac1 (diff)
downloadqemu-2f44bea907bb76adc511de5ba733c5164eedbce8.zip
qemu-2f44bea907bb76adc511de5ba733c5164eedbce8.tar.gz
qemu-2f44bea907bb76adc511de5ba733c5164eedbce8.tar.bz2
Kconfig: Add CONFIG_SGX support
Add new CONFIG_SGX for sgx support in the Qemu, and the Kconfig default enable sgx in the i386 platform. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <20210719112136.57018-32-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/i386/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index ddedcef..962d2c9 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -6,6 +6,10 @@ config SEV
select X86_FW_OVMF
depends on KVM
+config SGX
+ bool
+ depends on KVM
+
config PC
bool
imply APPLESMC
@@ -21,6 +25,7 @@ config PC
imply PVPANIC_ISA
imply QXL
imply SEV
+ imply SGX
imply SGA
imply TEST_DEVICES
imply TPM_CRB