diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-25 15:16:54 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-16 14:25:08 +0100 |
commit | e3660f60dca85de599c913fda1d156f20495b45a (patch) | |
tree | 4aac4610da591db8e19e2a9d0f896f4b9a3ab20f /include/hw/boards.h | |
parent | 250e797ceadad60ee7ebfdb92c76ba2057687597 (diff) | |
download | qemu-e3660f60dca85de599c913fda1d156f20495b45a.zip qemu-e3660f60dca85de599c913fda1d156f20495b45a.tar.gz qemu-e3660f60dca85de599c913fda1d156f20495b45a.tar.bz2 |
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>
Diffstat (limited to 'include/hw/boards.h')
-rw-r--r-- | include/hw/boards.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index e1f41b2..d61b0a4 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -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; |