hw/boards: Convert no_sdcard flag to OnOffAuto tri-state

MachineClass::no_sdcard is initialized as false by default.
To catch all uses, convert it to a tri-state, having the
current default (false) becoming AUTO.

No logical change intended.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250204200934.65279-2-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-11-25 15:16:54 +01:00
parent 250e797cea
commit e3660f60dc
5 changed files with 5 additions and 5 deletions

View file

@ -283,9 +283,9 @@ struct MachineClass {
no_parallel:1,
no_floppy:1,
no_cdrom:1,
no_sdcard:1,
pci_allow_0_address:1,
legacy_fw_cfg_order:1;
OnOffAuto no_sdcard;
bool is_default;
const char *default_machine_opts;
const char *default_boot_order;