qemu/hw/arm
Philippe Mathieu-Daudé cdc8d7cada hw/boards: Rename no_sdcard -> auto_create_sdcard
Invert the 'no_sdcard' logic, renaming it as the more explicit
"auto_create_sdcard". Machines are supposed to create a SD Card
drive when this flag is set. In many cases it doesn't make much
sense (as boards don't expose SD Card host controller), but this
is patch only aims to expose that nonsense; so no logical change
intended (mechanical patch using gsed).

Most of the changes are:

  -    mc->no_sdcard = ON_OFF_AUTO_OFF;
  +    mc->auto_create_sdcard = true;

Except in
 . hw/core/null-machine.c
 . hw/arm/xilinx_zynq.c
 . hw/s390x/s390-virtio-ccw.c
where the disabled option is manually removed (since default):

  -    mc->no_sdcard = ON_OFF_AUTO_ON;
  +    mc->auto_create_sdcard = false;
  -    mc->auto_create_sdcard = false;

and in system/vl.c we change the 'default_sdcard' type to boolean.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250204200934.65279-4-philmd@linaro.org>
2025-02-16 14:25:08 +01:00
..
allwinner-a10.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
allwinner-h3.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
allwinner-r40.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
armsse.c hw/arm/armsse: Use device_class_set_props_n 2024-12-19 19:33:37 +01:00
armv7m.c hw/loader: Pass ELFDATA endian order argument to load_elf_as() 2025-01-31 19:36:44 +01:00
aspeed.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
aspeed_ast10x0.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
aspeed_ast27x0.c qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
aspeed_ast2400.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
aspeed_ast2600.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
aspeed_eeprom.c aspeed: Clean up includes 2024-01-30 21:20:20 +03:00
aspeed_eeprom.h aspeed: Clean up includes 2024-01-30 21:20:20 +03:00
aspeed_soc_common.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
b-l475e-iot01a.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
bananapi_m2u.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
bcm2835_peripherals.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
bcm2836.c hw/arm: Constify all Property 2024-12-15 12:54:27 -06:00
bcm2838.c hw/arm: Introduce Raspberry PI 4 machine 2024-02-27 13:01:42 +00:00
bcm2838_peripherals.c hw/arm/bcm2838_peripherals: Add clock_isp stub 2024-02-27 13:01:42 +00:00
boot.c hw/arm/boot: Propagate vCPU to arm_load_dtb() 2025-02-07 16:09:18 +00:00
collie.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
cubieboard.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
digic.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
digic_boards.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
exynos4_boards.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
exynos4210.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
fby35.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
fsl-imx6.c hw/arm/fsl-imx6: Add local 'mpcore/gic' variables 2025-02-07 16:09:18 +00:00
fsl-imx6ul.c hw/arm/fsl-imx6ul: Add local 'mpcore/gic' variables 2025-02-07 16:09:19 +00:00
fsl-imx7.c hw/arm/fsl-imx7: Add local 'mpcore/gic' variables 2025-02-07 16:09:19 +00:00
fsl-imx25.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
fsl-imx31.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
highbank.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
imx25_pdk.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
integratorcp.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
Kconfig hw/pci-host/designware: Expose MSI IRQ 2025-01-27 13:50:14 +00:00
kzm.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
mcimx6ul-evk.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
mcimx7d-sabre.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
meson.build hw/arm: Remove omap2.c 2024-10-01 14:44:10 +01:00
microbit.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
mps2-tz.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
mps2.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
mps3r.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
msf2-soc.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
msf2-som.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
musca.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
musicpal.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
netduino2.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
netduinoplus2.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
npcm7xx.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
npcm7xx_boards.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
nrf51_soc.c hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m' 2025-01-27 12:58:26 +00:00
olimex-stm32-h405.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
omap1.c hw/arm/omap1: Inline creation of MMC 2025-01-31 19:36:44 +01:00
omap_sx1.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
orangepi.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
raspi.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
raspi4b.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
realview.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
sabrelite.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
sbsa-ref.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
smmu-common.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
smmu-internal.h hw/arm/smmuv3: Add VMID to TLB tagging 2023-05-30 15:50:16 +01:00
smmuv3-internal.h hw/arm/smmuv3: Assert input to oas2bits() is valid 2024-07-29 13:34:18 +01:00
smmuv3.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
stellaris.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
stm32f100_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32f205_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32f405_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32l4x5_soc.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
stm32vldiscovery.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
strongarm.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
strongarm.h hw/arm/collie: Create the RAM in the board 2019-10-22 17:44:01 +01:00
trace-events hw/arm: xenpvh: Break out a common PVH machine 2024-09-04 16:50:42 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
versatilepb.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
vexpress.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
virt-acpi-build.c acpi/ghes: simplify the per-arch caller to build HEST table 2025-01-15 13:06:49 -05:00
virt.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
xen-pvh.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
xen-stubs.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
xilinx_zynq.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
xlnx-versal-virt.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
xlnx-versal.c qapi: Move include/qapi/qmp/ to include/qobject/ 2025-02-10 15:33:16 +01:00
xlnx-zcu102.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
xlnx-zynqmp.c hw/arm/xlnx-zynqmp: Use &error_abort for programming errors 2025-02-16 14:25:07 +01:00