This is RFC because I'm unsure about the removal of /* Reason: init() method uses drive_get_next() */ dc->user_creatable = false;
in PATCH 1. Both users appear to wire up some GPIO. If that's necessary for the thing to work, we should just replace the comment. Aside: there may be devices that need manual wiring to work, yet don't have user_creatable unset. Bugs if you ask me. I don't have smart ideas on how to track them down. Markus Armbruster (2): hw/sd/ssi-sd: Do not create SD card within controller's realize hw: Replace drive_get_next() by drive_get() include/sysemu/blockdev.h | 1 - blockdev.c | 10 ---------- hw/arm/aspeed.c | 21 +++++++++++++-------- hw/arm/cubieboard.c | 2 +- hw/arm/imx25_pdk.c | 2 +- hw/arm/integratorcp.c | 2 +- hw/arm/mcimx6ul-evk.c | 2 +- hw/arm/mcimx7d-sabre.c | 2 +- hw/arm/msf2-som.c | 2 +- hw/arm/npcm7xx_boards.c | 6 +++--- hw/arm/orangepi.c | 2 +- hw/arm/raspi.c | 2 +- hw/arm/realview.c | 2 +- hw/arm/sabrelite.c | 2 +- hw/arm/stellaris.c | 15 ++++++++++++++- hw/arm/versatilepb.c | 4 ++-- hw/arm/vexpress.c | 6 +++--- hw/arm/xilinx_zynq.c | 16 +++++++++------- hw/arm/xlnx-versal-virt.c | 3 ++- hw/arm/xlnx-zcu102.c | 6 +++--- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/misc/sifive_u_otp.c | 2 +- hw/riscv/microchip_pfsoc.c | 2 +- hw/riscv/sifive_u.c | 15 +++++++++++++-- hw/sd/ssi-sd.c | 29 ----------------------------- hw/sparc64/niagara.c | 2 +- 26 files changed, 76 insertions(+), 84 deletions(-) -- 2.31.1