diff options
author | Philippe Mathieu-Daudé | 2020-02-07 17:19:46 +0100 |
---|---|---|
committer | Eduardo Habkost | 2020-02-28 20:57:19 +0100 |
commit | abcbc4eeca50bc4fa2963f8cc6308c3aad51148a (patch) | |
tree | abd197503d40f71ed6744c4acf9aff5ed5741fc1 /hw/moxie/moxiesim.c | |
parent | hw/nmi: Fix the NMI() macro, based on INTERFACE_CHECK() (diff) | |
download | qemu-abcbc4eeca50bc4fa2963f8cc6308c3aad51148a.tar.gz qemu-abcbc4eeca50bc4fa2963f8cc6308c3aad51148a.tar.xz qemu-abcbc4eeca50bc4fa2963f8cc6308c3aad51148a.zip |
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>
Diffstat (limited to 'hw/moxie/moxiesim.c')
0 files changed, 0 insertions, 0 deletions