xemu/hw/isa
Markus Armbruster af9e40aa8f hw: Mark devices picking up block backends actively FIXME
Drives defined with if!=none are for board initialization to wire up.
Board code calls drive_get() or similar to find them, and creates
devices with their qdev drive properties set accordingly.

Except a few devices go on a fishing expedition for a suitable backend
instead of exposing a drive property for board code to set: they call
driver_get() or drive_get_next() in their realize() or init() method
to implicitly connect to the "next" backend with a certain interface
type.

Picking up backends that way works when the devices are created by
board code.  But it's inappropriate for -device or device_add.  Not
only is this inconsistent with how the other block device models work
(they connect to a backend explicitly identified by a "drive"
property), it breaks when the "next" backend has been picked up by the
board already.

Example:

    $ qemu-system-arm -S -M connex -pflash flash.img -device ssi-sd
    Aborted (core dumped)

Mark them with suitable FIXME comments.

Cc: Andrzej Zaborowski <balrogg@gmail.com>
Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: "Andreas Färber" <andreas.faerber@web.de>
Cc: Michael Walle <michael@walle.cc>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-04-02 15:26:27 +02:00
..
Makefile.objs isa_mmio: delete 2013-07-25 08:12:27 -05:00
apm.c Fix debug print warning 2014-09-02 22:38:16 +04:00
i82378.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
isa-bus.c isa: remove isa_mem_base variable 2015-02-13 14:09:28 +00:00
lpc_ich9.c acpi, ich9: Add unplug cb for ich9. 2015-02-26 12:42:18 +01:00
pc87312.c hw: Mark devices picking up block backends actively FIXME 2015-04-02 15:26:27 +02:00
piix4.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
vt82c686.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00