Skip to content

QEMU maxcpus support v2

Jes Sorensen qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Introduce -smp , maxcpus= flag to specify maximum number of CPUS.hw/fw_cfg.c hw/fw_cfg.h qemu-options.hx +2 more+26 -24 replies
2/2QEMU BOCHS bios patches to use maxcpus value.pc-bios/bios-pq/0017-qemu-kvm-cfg-maxcpus.patch pc-bios/bios-pq/0018-qemu-madt-maxcpus.patch pc-bios/bios-pq/series+164 -010 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [patch 0/2] QEMU maxcpus support v2

Hi,

Here is an updated version of the ,maxcpus patch, now adding it as a sub-option to -smp, ie, -smp <n>,maxcpus=<y>. In addition it has the QEMU BOCHS patches to make the BIOS use the value passed.

Specifying maxcpus= allows the user to cap the limit of possibly cpus of the system, as opposed to -smp which specifies the number of running cpus at startup. This allows us to build BIOS tables accordingly when trying to scale up in size, and it also allows for the BIOS to build smaller tables when not needed.

I am going to submit a set of patches directly for BOCHS as well.

Cheers,
Jes