Skip to content

machine: Disallow specifying topology parameters as zero

Yanan Wang qemu-devel 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 0 repliesNew
  2. v51 patch 1 replySuperseded
  3. v41 patch 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v31 patch1 replySuperseded
v2 posting 2/21 patch8 repliesSuperseded
v2 posting 1/20 of 1 patch0 repliesSuperseded
v11 patch8 repliesSuperseded

Changes in v6 from the cover letter

- rebased on the latest upstream
- v5: https://lore.kernel.org/qemu-devel/[email protected]/

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1machine: Disallow specifying topology parameters as zerohw/core/machine.c qapi/machine.json qemu-options.hx+24 -80 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDaniel P. BerrangeAndrew JonesCornelia Huck
1/1R-b T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH for-6.1 v6 0/1] machine: Disallow specifying topology parameters as zero

Rebased on the latest upstream/master since commit ea0aa1752ca (hw/core: fix error checking in smp_parse) to resolve conflict.

This patch originally comes from [1], and it was suggested that it should be post for 6.1 to avoid a deprecation process in the future.
[1] https://lore.kernel.org/qemu-devel/[email protected]/

---

Changelogs:

v5->v6:
- rebased on the latest upstream
- v5: https://lore.kernel.org/qemu-devel/[email protected]/

v4->v5:
- tweak the error message (Markus)
- v4: https://lore.kernel.org/qemu-devel/[email protected]/

v3->v4:
- fix the typos
- v3: https://lore.kernel.org/qemu-devel/[email protected]/

v2->v3:
- improve the error message
- v2: https://lore.kernel.org/qemu-devel/[email protected]/

v1->v2:
- move the check to machine_set_smp
- update qemu-option.hx
- v1: https://lore.kernel.org/qemu-devel/[email protected]/

---

Yanan Wang (1):
machine: Disallow specifying topology parameters as zero

 hw/core/machine.c | 14 ++++++++++++++
 qapi/machine.json |  6 +++---
 qemu-options.hx   | 12 +++++++-----
 3 files changed, 24 insertions(+), 8 deletions(-)
Signature · 1 line
2.19.1