Trying to fix the issue reported here: https://lists.nongnu.org/archive/html/qemu-devel/2021-11/msg05670.html
First attach the CPUs to the machine, then the SGX-EPC to its memory backend. Philippe Mathieu-Daudé (2): hw/i386/x86: Attach CPUs to machine hw/i386/sgx: Attach SGX-EPC to its memory backend hw/i386/sgx.c | 3 +++ hw/i386/x86.c | 1 + 2 files changed, 4 insertions(+) -- 2.34.1