hw: Do not initialize MachineClass::is_default to 0
commitabcbc4eeca50bc4fa2963f8cc6308c3aad51148a
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 7 Feb 2020 16:19:46 +0000 (7 17:19 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 28 Feb 2020 19:57:19 +0000 (28 14:57 -0500)
treeabd197503d40f71ed6744c4acf9aff5ed5741fc1
parent64bc77eb2c0809f11860cfe53d47e9c6f77e85f3
hw: Do not initialize MachineClass::is_default to 0

The MachineClass is already zeroed on creation.

Note: The code setting is_default=0 in hw/i386/pc_piix.c is
      different (related to compat options). When adding a
      new versioned machine, we want it to be the new default,
      so we have to mark the previous one as not default.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200207161948.15972-2-philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c
hw/m68k/q800.c
hw/microblaze/petalogix_ml605_mmu.c
hw/tricore/tricore_testboard.c