Skip to content

Document MAX_CPUMASK_BITS and use it when limiting max_cpus

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2sysemu.h: Document what MAX_CPUMASK_BITS really limitsinclude/sysemu/sysemu.h+7 -00 replies
2/2vl.c: Use MAX_CPUMASK_BITS macro instead of hardcoded constantvl.c+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLaszlo Ersek
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Document MAX_CPUMASK_BITS and use it when limiting max_cpus

Small rework of patches 6/7 and 7/7 from the previous APIC-ID-limit series I sent (which broke the build and where reverted).

Instead of renaming MAX_CPUMASK_BITS like I did previously, just document it and use it on the (max_cpus > 255) check on vl.c.

Eduardo Habkost (2):
sysemu.h: Document what MAX_CPUMASK_BITS really limits vl.c: Use MAX_CPUMASK_BITS macro instead of hardcoded constant

 include/sysemu/sysemu.h | 7 +++++++
 vl.c                    | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.5.3