I am testing IPFire 2.27 core164 on nanopi-r4s, my first VM creation failed with “kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument”.
I did a bit of digging and I think this might be a bug in qemu but not sure, you can reproduce it with the following command, according to the reference URLs below, the command shouldn’t error out. And I tried on raspberrypi4 with Raspbian, the command indeed won’t error out.
Second, thanks for your detailed post, and the link to Red Hat’s bugtracker, which is very helpful.
It seems as we (just) need to pick up this fix. Unfortunately, the merge window for Core Update 165 is already closed, so this will make it into C166 at the earliest.