[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/3] hw: Make MachineClass::is_default a boolean type
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v4 2/3] hw: Make MachineClass::is_default a boolean type |
Date: |
Mon, 10 Feb 2020 09:51:42 +0100 |
On Fri, 7 Feb 2020 17:19:47 +0100
Philippe Mathieu-Daudé <address@hidden> wrote:
> There's no good reason for it to be type int, change it to bool.
>
> Suggested-by: Richard Henderson <address@hidden>
> Reviewed-by: Michael S. Tsirkin <address@hidden>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> v4:
> - fixed incorrect changes to max_cpus (Laurent)
> - describe field
> ---
> 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 | 2 +-
> hw/m68k/mcf5208.c | 2 +-
> 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/unicore32/puv3.c | 2 +-
> 20 files changed, 26 insertions(+), 24 deletions(-)
s390 part:
Acked-by: Cornelia Huck <address@hidden>
- Tricore default machine (was: [PATCH v4 1/3] hw: Do not initialize MachineClass::is_default to 0), (continued)
- Tricore default machine (was: [PATCH v4 1/3] hw: Do not initialize MachineClass::is_default to 0), Thomas Huth, 2020/02/10
- Re: Tricore default machine, Philippe Mathieu-Daudé, 2020/02/10
- Re: Tricore default machine, Thomas Huth, 2020/02/10
- Re: Tricore default machine, Bastian Koppelmann, 2020/02/10
- Re: Tricore default machine, Peter Maydell, 2020/02/10
- Re: Tricore default machine, Philippe Mathieu-Daudé, 2020/02/10
[PATCH v4 2/3] hw: Make MachineClass::is_default a boolean type, Philippe Mathieu-Daudé, 2020/02/07
[PATCH v4 3/3] vl: Abort if multiple machines are registered as default, Philippe Mathieu-Daudé, 2020/02/07
Re: [PATCH v4 0/3] Make MachineClass::is_default boolean, refuse multiple default machines, Eduardo Habkost, 2020/02/07