qemu-system-i386 assertion failure when qemu-accel-tcg is not installed
nero# qemu-system-i386
** ERROR:../accel/accel-softmmu.c:82:accel_init_ops_interfaces: assertion failed: (ops != NULL) Bail out! ERROR:../accel/accel-softmmu.c:82:accel_init_ops_interfaces: assertion failed: (ops != NULL) Aborted (core dumped)
This happens because the libraries for the tcg acceleration are not installed (it is not a dependency).
The relevant qemu option is -accel
here: The above behavior comes from -accel tcg
, which is the default value. Using -accel kvm
prevents the abort.
This has been discussed upstream previously: https://lore.kernel.org/qemu-devel/20210722220952.17444-1-jziviani@suse.de/T/
Similar problem with qemu in the past: #12741 (closed)
pkg maintainer is @ncopa