qemu-e2k/hw/arm
Markus Armbruster 2059839baa hw: Default -drive to if=ide explicitly where it works
Block backends defined with -drive if=ide are meant to be picked up by
machine initialization code: a suitable frontend gets created and
wired up automatically.

if=ide drives not picked up that way can still be used with -device as
if they had if=none, but that's unclean and best avoided.  Unused ones
produce an "Orphaned drive without device" warning.

-drive parameter "if" is optional, and the default depends on the
machine type.  If a machine type doesn't specify a default, the
default is "ide".

Many machine types default to if=ide, even though they don't actually
have an IDE controller.  A future patch will change these defaults to
something more sensible.  To prepare for it, this patch makes default
"ide" explicit for the machines that actually pick up if=ide drives:

* alpha: clipper
* arm/aarch64: spitz borzoi terrier tosa
* i386/x86_64: generic-pc-machine (with concrete subtypes pc-q35-*
  pc-i440fx-* pc-* isapc xenfv)
* mips64el: fulong2e
* mips/mipsel/mips64el: malta mips
* ppc/ppc64: mac99 g3beige prep
* sh4/sh4eb: r2d
* sparc64: sun4u sun4v

Note that ppc64 machine powernv already sets an "ide" default
explicitly.  Its IDE controller isn't implemented, yet.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1487153147-11530-2-git-send-email-armbru@redhat.com>
2017-02-21 13:10:53 +01:00
..
allwinner-a10.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
armv7m.c armv7m: Replace armv7m.hack with unassigned_access handler 2017-01-27 15:20:21 +00:00
aspeed_soc.c aspeed: add a watchdog controller 2017-02-07 18:29:59 +00:00
aspeed.c aspeed: remove useless comment on controller segment size 2017-02-10 17:40:29 +00:00
bcm2835_peripherals.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
bcm2836.c hw/arm/bcm2836: Wire up CPU timer interrupts correctly 2016-04-04 17:33:51 +01:00
boot.c arm: Create /chosen and /memory devicetree nodes if necessary 2016-11-28 11:32:34 +00:00
collie.c explicitly include qom/cpu.h 2016-05-19 16:42:27 +02:00
cubieboard.c arm: cubieboard: Add support for initrd 2016-10-28 15:51:27 +01:00
digic_boards.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
digic.c hw/char: QOM'ify digic-uart model 2016-06-06 16:59:31 +01:00
exynos4_boards.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
exynos4210.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
fsl-imx6.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
fsl-imx25.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
fsl-imx31.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
gumstix.c
highbank.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
imx25_pdk.c arm: Uniquely name imx25 I2C buses. 2017-01-20 11:15:06 +00:00
integratorcp.c hw/arm/integratorcp: Support specifying features via -cpu 2017-02-07 18:29:59 +00:00
kzm.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
mainstone.c mainstone: Add mapping for dot, slash and backspace. 2016-10-04 13:28:08 +01:00
Makefile.objs palmetto-bmc: rename the Aspeed board file to aspeed.c 2016-09-22 18:13:05 +01:00
musicpal.c hw/arm: QOM'ify musicpal.c 2016-10-24 16:26:55 +01:00
netduino2.c
nseries.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
omap1.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
omap2.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
omap_sx1.c
palm.c
pxa2xx_gpio.c hw/arm: QOM'ify pxa2xx_gpio.c 2016-10-24 16:26:55 +01:00
pxa2xx_pic.c hw/arm: QOM'ify pxa2xx_pic.c 2016-05-12 13:42:08 +01:00
pxa2xx.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
raspi.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
realview.c vl: Eliminate usb_enabled() 2016-06-13 13:24:41 +02:00
sabrelite.c m25p80: qdev-ify drive property 2016-07-04 13:15:22 +01:00
spitz.c hw: Default -drive to if=ide explicitly where it works 2017-02-21 13:10:53 +01:00
stellaris.c stellaris: Use the 'unimplemented' device for parts we don't implement 2017-02-07 18:55:15 +00:00
stm32f205_soc.c STM32F205: Connect the SPI devices 2016-10-04 13:28:07 +01:00
strongarm.c hw/arm: QOM'ify strongarm.c 2016-10-24 16:26:56 +01:00
strongarm.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
sysbus-fdt.c sysbus: Remove ignored return value of FindSysbusDeviceFunc 2016-09-27 17:03:34 -03:00
tosa.c hw: Default -drive to if=ide explicitly where it works 2017-02-21 13:10:53 +01:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
versatilepb.c versatilepb: do not run if user asks for more than 256MB RAM 2016-10-28 15:51:27 +01:00
vexpress.c target-arm: Declare virtio-mmio as dma-coherent in dt 2017-02-10 17:40:29 +00:00
virt-acpi-build.c hw/arm/virt: Declare fwcfg as dma cache coherent in ACPI 2017-02-10 17:40:29 +00:00
virt.c hw/arm/virt: Declare fwcfg as dma cache coherent in dt 2017-02-10 17:40:29 +00:00
xilinx_zynq.c m25p80: qdev-ify drive property 2016-07-04 13:15:22 +01:00
xlnx-ep108.c m25p80: qdev-ify drive property 2016-07-04 13:15:22 +01:00
xlnx-zynqmp.c target-arm: Enable EL2 feature bit on A53 and A57 2017-01-20 11:15:10 +00:00
z2.c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00