Skip to content

QEMU maxcpus support v2

Jes Sorensen qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

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 -20 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+155 -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 v2

Hi,

Another update to the maxcpus patch. Gleb pointed out that I was enabling all processors in the MADT, which clearly wasn't my intention. My brain had obviously already left for vacation when I wrote it.

Anthony, any chance you could try this and see if it fixes your Ubuntu guest problem?

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.

Cheers,
Jes