qemu-e2k/hw/sd
Markus Armbruster 19109131ca sdhci: Make device "sdhci-pci" 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.

"sdhci-pci" picks up its block backend in its realize() method with
drive_get_next() instead.  Already marked FIXME.  See the commit that
added the FIXME for a more detailed explanation of what's wrong.

We can't fix this in time for the release, but since the device is new
in 2.3, we can set cannot_instantiate_with_device_add_yet to disable
it before this mistake becomes ABI, and we have to support command
lines like

    $ qemu -drive if=sd -drive if=sd,file=sd.img -device sdhci-pci -device sdhci-pci

forever.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-04-02 15:30:39 +02:00
..
Makefile.objs hw: move SD/MMC devices to hw/sd/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
milkymist-memcard.c hw: Mark devices picking up block backends actively FIXME 2015-04-02 15:26:27 +02:00
omap_mmc.c omap: Fix warnings from Sparse 2015-03-19 11:11:55 +03:00
pl181.c hw: Mark devices picking up block backends actively FIXME 2015-04-02 15:26:27 +02:00
pxa2xx_mmci.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
sd.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
sdhci.c sdhci: Make device "sdhci-pci" unavailable with -device 2015-04-02 15:30:39 +02:00
sdhci.h sdhci: Support SDHCI devices on PCI 2014-12-15 17:34:44 +01:00
ssi-sd.c hw: Mark devices picking up block backends actively FIXME 2015-04-02 15:26:27 +02:00