qemu-e2k/hw/sd
Kevin Wolf 4f8a066b5f blockdev: Remove IF_* check for read-only blockdev_init
IF_NONE allows read-only, which makes forbidding it in this place
for other types pretty much pointless.

Instead, make sure that all devices for which the check would have
errored out check in their init function that they don't get a read-only
BlockDriverState. This catches even cases where IF_NONE and -device is
used.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2013-10-11 16:50:01 +02:00
..
Makefile.objs
milkymist-memcard.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00
omap_mmc.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00
pl181.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00
pxa2xx_mmci.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00
sd.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00
sdhci.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00
sdhci.h
ssi-sd.c blockdev: Remove IF_* check for read-only blockdev_init 2013-10-11 16:50:01 +02:00