Thanks Rahul,
After some digging I came to the same conclusions. I'll dig deeper to see
if there are any impacts in raising max CPU count for RISC-V Virt machine,
but I definitely agree that it should be set higher.
FWIW, I was able to run a 32-core kernel after adjusting code and kernel
If you want to boot with more than 8 harts then you also need to increase the
CONFIG_NR_CPUS in the kernel. Along with change in QEMU - VIRT_CPUS_MAX in
"include/hw/riscv/virt.h"
But, the limit of 8 is low and should be increased. Don't know the reason why
its 8.
On Sep 22 2021, at 10:19 pm,
Hello all,
Apologies if I missed the answer in the docs, but I am wondering why the
virt machine is limited to only 8 cores when running RISC-V 64 system
emulation? I am interested in booting a 16, 24, or even 32 core SMP Linux
kernel with OpenSBI as the bootloader on the generic virt machine