[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-10.0 0/3] hw/boards: Try to make sense of MachineClass::n
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH-for-10.0 0/3] hw/boards: Try to make sense of MachineClass::no_sdcard flag |
Date: |
Tue, 26 Nov 2024 06:24:59 +0100 |
User-agent: |
Mozilla Thunderbird |
On 25/11/24 19:14, Philippe Mathieu-Daudé wrote:
Invert MachineClass 'no_sdcard' flag logic and rename it
to 'create_default_sdcard_drive' to make sense of this
default value applied to all machines. No logical change
intended.
Philippe Mathieu-Daudé (3):
hw/boards: Convert no_sdcard flag to OnOffAuto tri-state
hw/boards: Explicit no_sdcard=false as ON_OFF_AUTO_OFF
hw/boards: Rename no_sdcard -> create_default_sdcard_drive
I expect next steps to be:
- Remove nonsense create_default_sdcard_drive (where
machines don't have SDHCI devices)
- When drive uses IF_SD, assert machine expose a SDBus
- Explicitly create default drives for SDCards in
each machine_init?
- Remove MachineClass::create_default_sdcard_drive field
and code handling default in system/vl.c