Skip to content

pc, hw, spapr: Cleanup of {HW, PC, SPAPR}_COMPAT_* macros

Eduardo Habkost qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 4 repliesIn review
  2. v113 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Rebase after the new PC 2.4 machine-types were added

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13pc: Replace tab with spaceshw/i386/pc_piix.c include/hw/i386/pc.h+7 -70 replies
2/13hw: Move commas inside HW_COMPAT_2_1 macrohw/i386/pc_piix.c hw/i386/pc_q35.c hw/ppc/spapr.c +2 more+5 -50 replies
3/13pc: Move commas inside PC_COMPAT_* macroshw/i386/pc_piix.c hw/i386/pc_q35.c include/hw/i386/pc.h+45 -450 replies
4/13spapr: Move commas inside SPAPR_COMPAT_* macroshw/ppc/spapr.c+3 -30 replies
5/13hw: Define empty HW_COMPAT_2_[23] macrosinclude/hw/compat.h+6 -00 replies
6/13pc: Define PC_COMPAT_2_[123] macroshw/i386/pc_piix.c hw/i386/pc_q35.c include/hw/i386/pc.h+30 -30 replies
7/13spapr: Use HW_COMPAT_* inside SPAPR_COMPAT_* macroshw/ppc/spapr.c+3 -20 replies
8/13spapr: define SPAPR_COMPAT_2_3hw/ppc/spapr.c+4 -00 replies
9/13piix: Move pc-0.14 qxl compat properties to PC_COMPAT_0_14hw/i386/pc_piix.c+8 -91 reply
10/13piix: Move pc-0.11 drive version compat props to PC_COMPAT_0_11hw/i386/pc_piix.c+8 -91 reply
11/13piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13hw/i386/pc_piix.c+4 -41 reply
12/13piix: Move pc-0.1[23] rombar compat props to PC_COMPAT_0_13hw/i386/pc_piix.c+8 -181 reply
13/13piix: Define PC_COMPAT_0_10hw/i386/pc_piix.c+25 -220 replies

Reviews trailers per patch

4 of 13 patches have a Reviewed-by or Acked-by.

PatchGerd Hoffmann
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/13] pc, hw, spapr: Cleanup of {HW, PC, SPAPR}_COMPAT_* macros

This series does some changes to make the macros more consistent. Now every pc and pseries version has a corresponding compat macro defined.

Changes v1 -> v2:
* Rebase after the new PC 2.4 machine-types were added

Eduardo Habkost (13):
pc: Replace tab with spaces
hw: Move commas inside HW_COMPAT_2_1 macro
pc: Move commas inside PC_COMPAT_* macros
spapr: Move commas inside SPAPR_COMPAT_* macros
hw: Define empty HW_COMPAT_2_[23] macros
pc: Define PC_COMPAT_2_[123] macros
spapr: Use HW_COMPAT_* inside SPAPR_COMPAT_* macros
spapr: define SPAPR_COMPAT_2_3
piix: Move pc-0.14 qxl compat properties to PC_COMPAT_0_14
piix: Move pc-0.11 drive version compat props to PC_COMPAT_0_11
piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13
piix: Move pc-0.1[23] rombar compat props to PC_COMPAT_0_13
piix: Define PC_COMPAT_0_10

 hw/i386/pc_piix.c    | 185 +++++++++++++++++++++++++--------------------------
 hw/i386/pc_q35.c     |  20 ++++--
 hw/ppc/spapr.c       |  15 +++--
 include/hw/compat.h  |   8 ++-
 include/hw/i386/pc.h |  43 +++++++-----
 5 files changed, 150 insertions(+), 121 deletions(-)
Signature · 1 line
2.1.0