device: 0.532 graphic: 0.467 boot: 0.449 socket: 0.412 network: 0.385 vnc: 0.364 instruction: 0.245 mistranslation: 0.241 semantic: 0.220 KVM: 0.184 assembly: 0.139 other: 0.056 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