]> 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, 1 Mar 2024 19:06:10 +0000 (22:06 +0300)
commit0ee0f9d8227ee6467807c4e9e549c0e166164dcb
tree1e0abad660ccc448aff4a7bc950ecf64338e4ffc
parent90b1b8e0d6c41d3806d98542c6e14697d534adf5
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