Skip to content

QEMU maxcpus support

Jes Sorensen qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Introduce -maxcpus flag to QEMU and pass the value to the BIOS through FW_CFG.hw/fw_cfg.c hw/fw_cfg.h qemu-options.hx +2 more+20 -00 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 -00 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

Hi,

This patch set adds the -maxcpus argument to QEMU and provides the needed patches to the BOCHS patch queue to make the BIOS use it.

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 covering the BIOS part, but I am still waiting for my bochs-developers subscription to be enabled.

Avi asked me to post this both for QEMU and the BIOS part for BOCHS.

Cheers,
Jes