Skip to content

Make MachineClass::is_default boolean, refuse multiple default machines

Philippe Mathieu-Daudé qemu-devel qemu-riscv qemu-trivial 2 versions Applied

Status from this message: Queued, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 17 repliesApplied
  2. v33 patches 6 repliesSuperseded

Changes in v4 from the cover letter

- addressed Laurent & Michael comments

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3hw: Do not initialize MachineClass::is_default to 0hw/lm32/lm32_boards.c hw/lm32/milkymist.c hw/m68k/q800.c +2 more+0 -58 replies
2/3hw: Make MachineClass::is_default a boolean typehw/alpha/dp264.c hw/cris/axis_dev88.c hw/hppa/machine.c +17 more+26 -245 replies
3/3vl: Abort if multiple machines are registered as defaultvl.c+4 -23 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMichael S. TsirkinMarc-André LureauLaurent VivierDavid GibsonCornelia HuckThomas Huth
1/3R-b R-b
2/3R-b R-b R-b R-b A-b A-b R-b
3/3R-b R-b T-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 6 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Make MachineClass::is_default boolean, refuse multiple default machines

Cleanup after reviewing "ppc: function to setup latest class options":
https://www.mail-archive.com/[email protected]/msg677709.html

Since v3:
- addressed Laurent & Michael comments

Philippe Mathieu-Daudé (3):
hw: Do not initialize MachineClass::is_default to 0
hw: Make MachineClass::is_default a boolean type
vl: Abort if multiple machines are registered as default

 include/hw/boards.h                      |  4 +++-
 hw/alpha/dp264.c                         |  2 +-
 hw/cris/axis_dev88.c                     |  2 +-
 hw/hppa/machine.c                        |  2 +-
 hw/i386/pc_piix.c                        | 10 +++++-----
 hw/lm32/lm32_boards.c                    |  3 +--
 hw/lm32/milkymist.c                      |  1 -
 hw/m68k/mcf5208.c                        |  2 +-
 hw/m68k/q800.c                           |  1 -
 hw/microblaze/petalogix_ml605_mmu.c      |  1 -
 hw/microblaze/petalogix_s3adsp1800_mmu.c |  2 +-
 hw/mips/mips_malta.c                     |  2 +-
 hw/moxie/moxiesim.c                      |  2 +-
 hw/nios2/10m50_devboard.c                |  2 +-
 hw/openrisc/openrisc_sim.c               |  2 +-
 hw/ppc/mac_oldworld.c                    |  2 +-
 hw/ppc/spapr.c                           |  2 +-
 hw/riscv/spike.c                         |  2 +-
 hw/s390x/s390-virtio-ccw.c               |  2 +-
 hw/sh4/shix.c                            |  2 +-
 hw/sparc/sun4m.c                         |  2 +-
 hw/sparc64/sun4u.c                       |  2 +-
 hw/tricore/tricore_testboard.c           |  1 -
 hw/unicore32/puv3.c                      |  2 +-
 vl.c                                     |  6 ++++--
 25 files changed, 30 insertions(+), 31 deletions(-)
Signature · 1 line
2.21.1