qemu/hw/remote
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
..
iohub.c remote: Remove unused remote_iohub_finalize 2024-10-03 17:26:06 +03:00
iommu.c hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps 2023-11-03 09:20:31 +01:00
Kconfig vfio-user: build library 2022-06-15 16:42:33 +01:00
machine.c hw/boards: Rename no_sdcard -> auto_create_sdcard 2025-02-16 14:25:08 +01:00
memory.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
meson.build meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
message.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
mpqemu-link.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
proxy-memory-listener.c exec/memory: Add symbol for memory listener priority for device backend 2023-06-28 14:27:59 +02:00
proxy.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
remote-obj.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
trace-events hw/remote: Fix vfu_cfg trace offset format 2023-06-09 23:38:16 +03:00
trace.h multi-process: define MPQemuMsg format and transmission functions 2021-02-10 09:23:28 +00:00
vfio-user-obj-stub.c hw/remote: move stub vfu_object_set_bus_irq out of stubs/ 2023-10-18 10:01:01 +02:00
vfio-user-obj.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00