Markus Armbruster 9f9bdf43ca sysbus: 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.

A number of sysbus devices pick up block backends in their init() /
instance_init() methods with drive_get_next() instead: sl-nand,
milkymist-memcard, pl181, generic-sdhci.

Likewise, a number of sysbus devices pick up character backends in
their init() / realize() methods with qemu_char_get_next_serial():
cadence_uart, digic-uart, etraxfs,serial, lm32-juart, lm32-uart,
milkymist-uart, pl011, stm32f2xx-usart, xlnx.xps-uartlite.

All these mistakes are already marked FIXME.  See the commit that
added these FIXMEs for a more detailed explanation of what's wrong.

Fortunately, only machines ppce500 and pseries-* support -device with
sysbus devices, and none of the devices above is supported with these
machines.

Set cannot_instantiate_with_device_add_yet to preserve our luck.

Cc: Andrzej Zaborowski <balrogg@gmail.com>
Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: Antony Pavlov <antonynpavlov@gmail.com>
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Cc: Michael Walle <michael@walle.cc>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-04-02 15:30:44 +02:00
2015-03-19 17:47:08 +00:00
2015-03-04 13:00:36 -05:00
2015-02-06 16:11:38 +00:00
2015-03-19 11:30:37 +03:00
2015-03-19 11:39:18 +03:00
2015-03-09 09:14:28 +00:00
2015-02-23 10:56:09 -05:00
2015-03-27 10:01:12 +00:00
2015-03-25 13:38:07 +01:00
2015-02-16 17:30:19 +01:00
2015-03-19 11:35:52 +03:00
2015-03-17 17:11:33 +00:00
2015-03-17 14:31:15 +01:00
2015-03-12 09:13:07 +00:00
2015-02-05 17:16:14 +01:00
2015-03-20 09:50:08 +00:00
2015-02-16 15:07:19 +00:00
2015-03-19 17:47:08 +00:00
2015-02-12 21:21:38 -08:00
2015-03-10 09:26:22 +01:00
2015-03-24 16:34:16 +00:00
2015-03-26 15:31:46 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%