During testing of an AMD Genoa CPU, it was discovered that qemu-system-amd64 doesn't support enough cpus.
The specific error the tester received was:
qemu-system-x86_64: Invalid SMP CPUs 384. The max supported by machine 'pc-q35-7.1' is 288
Looking at the sournce that seems to be an easy fix at first glance:
https://github.com/qemu/qemu/blob/master/hw/i386/pc_q35.c 372 machine_class_allow_dynamic_sysbus_dev(m, TYPE_VMBUS_BRIDGE); 373 m->max_cpus = 288;
During testing of an AMD Genoa CPU, it was discovered that qemu-system-amd64 doesn't support enough cpus.
The specific error the tester received was:
qemu-system-x86_64: Invalid SMP CPUs 384. The max supported by machine 'pc-q35-7.1' is 288
Looking at the sournce that seems to be an easy fix at first glance:
https:/ /github. com/qemu/ qemu/blob/ master/ hw/i386/ pc_q35. c class_allow_ dynamic_ sysbus_ dev(m, TYPE_VMBUS_BRIDGE);
372 machine_
373 m->max_cpus = 288;