]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: the sgx_epc_get_section stub is reachable
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Feb 2022 19:09:41 +0000 (20:09 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 5 Jan 2024 16:10:11 +0000 (19:10 +0300)
commite649de10d509026343eb51159bd3791b5f9b11df
tree18a96cd52a317ad8765db312a4a08a18783f867f
parentbb28ee11c2f64a1423e78ad5dfcdbcfa79ceb7d6
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>
(cherry picked from commit 219615740425d9683588207b40a365e6741691a6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/i386/sgx-stub.c