mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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>
This commit is contained in:
parent
64bc77eb2c
commit
abcbc4eeca
5 changed files with 0 additions and 5 deletions
|
@ -105,7 +105,6 @@ static void ttb_machine_init(MachineClass *mc)
|
|||
{
|
||||
mc->desc = "a minimal TriCore board";
|
||||
mc->init = tricoreboard_init;
|
||||
mc->is_default = 0;
|
||||
mc->default_cpu_type = TRICORE_CPU_TYPE_NAME("tc1796");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue