qemu-cr16/include/hw
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
..
acpi hw/acpi: Add vmclock device 2025-01-15 17:43:24 -05:00
adc
arm hw/arm/boot: Propagate vCPU to arm_load_dtb() 2025-02-07 16:09:18 +00:00
audio
block
char hw/char/imx_serial: Fix reset value of UFCR register 2025-01-27 13:50:14 +00:00
core cpu: Remove nr_cores from struct CPUState 2025-01-10 23:34:45 +01:00
cpu
cxl
display
dma include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
firmware
fsi
gpio
hyperv include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
i2c
i386 hw/i386/pc: Remove unused pc_compat_2_3 declarations 2025-01-30 13:01:22 +03:00
ide include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
input
intc hw/intc/loongson_ipi: Add more input parameter for cpu_by_arch_id 2025-01-15 14:33:49 +08:00
ipack hw/ipack: Remove legacy qemu_allocate_irqs() use 2025-01-31 19:36:44 +01:00
ipmi
isa include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
loongarch hw/loongarch/virt: CPU irq line connection improvement 2025-02-12 10:05:22 +08:00
m68k
mem
mips
misc licenses: Remove SPDX tags not being license identifier for Linaro 2025-01-30 13:01:22 +03:00
net hw/net/lan9118_phy: Reuse MII constants 2024-12-11 15:30:52 +00:00
nubus
nvram include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
openrisc
pci hw/pci: Rename has_power to enabled 2025-01-13 17:16:04 +01:00
pci-bridge
pci-host hw/pci-host/astro: Add LMMIO range support 2025-02-04 22:57:34 +01:00
ppc include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
remote
riscv target/riscv: Handle Smrnmi interrupt and exception 2025-01-19 09:44:34 +10:00
rtc
rx
s390x hw/s390x: Remove the "adapter_routes_max_batch" property from the flic 2025-01-07 14:51:39 +01:00
scsi
sd hw/sd: Remove unused legacy functions, stop killing mammoths 2025-01-31 19:36:44 +01:00
sensor
sh4
southbridge
sparc
ssi
timer i386/fw_cfg: move hpet_cfg definition to hpet.c 2025-02-13 12:51:32 +01:00
tricore include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
usb hw/usb/uhci: Introduce and use register defines 2024-12-31 21:21:34 +01:00
vfio vfio: Introduce vfio_get_vfio_device() 2025-02-11 14:15:19 +01:00
virtio vhost: Add stubs for the migration state transfer interface 2025-01-15 13:07:32 -05:00
watchdog
xen hw/xen: Have legacy Xen backend inherit from DYNAMIC_SYS_BUS_DEVICE 2025-02-16 14:25:08 +01:00
xtensa
boards.h hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
clock.h clock: clear callback on unparent 2024-12-10 18:49:24 +01:00
elf_ops.h.inc
fw-path-provider.h
hotplug.h
hw.h
irq.h hw/irq: Introduce qemu_init_irqs() helper 2025-01-31 19:36:44 +01:00
loader-fit.h
loader.h hw/loader: Pass ELFDATA endian order argument to load_elf() 2025-01-31 19:36:44 +01:00
nmi.h
or-irq.h
platform-bus.h
ptimer.h
qdev-clock.h
qdev-core.h hw/qdev: Factor qdev_hotunplug_allowed() out 2025-01-13 17:16:03 +01:00
qdev-dma.h
qdev-properties-system.h
qdev-properties.h hw/core/qdev-properties: Constify Property argument to PropertyInfo.print 2024-12-19 19:36:37 +01:00
register.h
registerfields.h
resettable.h
stream.h
sysbus.h hw/sysbus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE 2025-02-16 14:25:07 +01:00
usb.h hw/usb: Inline usb_new() 2025-01-13 17:07:00 +01:00
vmstate-if.h