Panic after boot with more than 12 CPUs as QEMU guest
Arch Linux, kernel 5.13.13-zen1-1-zen
QEMU: system-x86-64 v.6.1.0
Guest OS: OmniOS CE bloody, latest updates (but it also happens on OpenIndiana)
Booting an Illumos guest system with more than 12 CPUs causes a kernel panic shortly after boot.
The quest config I use at the moment is:
enable-kvm -m 15360 -smp 13 -hda omnios-zig.qcow2 -net nic -net user,hostfwd=tcp::2229:22 -nographic -no-reboot
but I've also managed to reproduced it using this minimal version:
qemu-system-x86_64 -m 1024 -smp 13 -hda omnios-zig.qcow2 -nographic -no-reboot
Updated by Stephen Gregoratto about 1 month ago
I've poked around QEMU's settings, and I now believe that this is a CPU feature detection problem. I don't have a log to share, but the boot log showed that it was warning about old firmware regarding an Opteron cpu bug. Running QEMU with -cpu host, fixes all my issues.