qemu/hw/sd
Markus Armbruster 61e9e3cb45 ssi-sd: Make devices picking up backends unavailable with -device
Device models aren't supposed to go on fishing expeditions for
backends.  They should expose suitable properties for the user to set.
For onboard devices, board code sets them.

Device ssi-sd picks up its block backend in its init() method with
drive_get_next() instead.  This mistake is already marked FIXME since
commit af9e40a.

Unset user_creatable to remove the mistake from our external
interface.  Since the SSI bus doesn't support hotplug, only -device
can be affected.  Only certain ARM machines have ssi-sd and provide an
SSI bus for it; this patch breaks -device ssi-sd for these machines.
No actual use of -device ssi-sd is known.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20181009060835.4608-1-armbru@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-10-24 07:50:16 +01:00
..
bcm2835_sdhost.c
core.c
Makefile.objs
milkymist-memcard.c
omap_mmc.c
pl181.c
pxa2xx_mmci.c
sd.c
sdhci-internal.h sdhci: add i.MX SD Stable Clock bit 2018-08-20 11:24:32 +01:00
sdhci.c sdhci: add i.MX SD Stable Clock bit 2018-08-20 11:24:32 +01:00
sdmmc-internal.c
sdmmc-internal.h
ssi-sd.c ssi-sd: Make devices picking up backends unavailable with -device 2018-10-24 07:50:16 +01:00
trace-events