]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386/cpu: Mask off SGX/SGX_LC feature words for non-PC machine
authorZhao Liu <zhao1.liu@intel.com>
Tue, 30 Jul 2024 04:55:44 +0000 (12:55 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 31 Jul 2024 11:13:31 +0000 (13:13 +0200)
commitada1f3cab32a4eded6a453c2e22fc897009da555
tree889f09ea17d0385b493249a357bf69f376a7475d
parent3722a98948d4fedec7a8c4575f520b346b6bc923
target/i386/cpu: Mask off SGX/SGX_LC feature words for non-PC machine

Only PC machine supports SGX, so mask off SGX related feature words for
non-PC machine (microvm).

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20240730045544.2516284-5-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/sgx-stub.c
hw/i386/sgx.c
include/hw/i386/sgx-epc.h
target/i386/cpu.c