TCG: 0.699 kernel: 0.642 arm: 0.550 architecture: 0.538 device: 0.532 graphic: 0.467 boot: 0.449 socket: 0.412 peripherals: 0.394 network: 0.385 permissions: 0.382 hypervisor: 0.373 vnc: 0.364 ppc: 0.354 risc-v: 0.345 performance: 0.342 PID: 0.316 user-level: 0.292 VMM: 0.269 mistranslation: 0.241 virtual: 0.240 semantic: 0.220 x86: 0.219 register: 0.207 KVM: 0.184 assembly: 0.139 files: 0.127 debug: 0.098 i386: 0.071 error on run qemu-system-aarch64 -icount shift=1,align=off,sleep=on -smp 2 Description of problem: This issue happen with the most recent version. * Compile parameters: ``` ./configure --target-list=aarch64-softmmu  --prefix=pwd/release  --disable-werror --enable-lto --enable-capstone --enable-system --enable-fdt --disable-xen --disable-kvm --enable-plugins ``` * run: ``` qemu-system-aarch64 -nographic -machine virt -cpu cortex-a57 -icount shift=1,align=off,sleep=on -smp 2 -vnc :2 -m 4080 -kernel /home/yuzy/mywork/linux/linux-5.15.30/arch/arm64/boot/Image.gz -initrd /home/yuzy/mywork/build/rootfs.cpio.gz ``` * error occurred: ``` ** ERROR:../accel/tcg/tcg-accel-ops.c:79:tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked()) Aborted (core dumped) ``` Steps to reproduce: 1. run qemu-system-aarch64 -machine virt -cpu cortex-a57 -icount shift=1,align=off,sleep=on -smp 2 -m 4080 -kernel Image.gz -initrd rootfs.cpio.gz 2. it will assertion failed: (qemu_mutex_iothread_locked()) Additional information: The following two situations are good: ``` qemu-system-aarch64 -machine virt -cpu cortex-a57 -icount shift=1,align=off,sleep=on -smp 1 -m 4080 -kernel Image.gz -initrd rootfs.cpio.gz ``` ``` qemu-system-aarch64 -machine virt -cpu cortex-a57 -smp 2 -m 4080 -kernel Image.gz -initrd rootfs.cpio.gz ``` I assume the issues are: gic