target/i386: the sgx_epc_get_section stub is reachable
commit219615740425d9683588207b40a365e6741691a6
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Feb 2022 19:09:41 +0000 (1 20:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 31 Dec 2023 08:11:27 +0000 (31 09:11 +0100)
tree14db06c04a4e9322d3ea05d8292b004ddb94cfd7
parent405c7c07082b4f9d11500659c849657297f0d065
target/i386: the sgx_epc_get_section stub is reachable

The sgx_epc_get_section stub is reachable from cpu_x86_cpuid.  It
should not assert, instead it should just return true just like
the "real" sgx_epc_get_section does when SGX is disabled.

Reported-by: Vladimír Beneš <vbenes@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20220201190941.106001-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/sgx-stub.c