qemu/hw/block
Alexey Kardashevskiy b3da551389 fdc: Exit if ISA controller does not support DMA
A "powernv" machine type defines an ISA bus but it does not add any DMA
controller to it so it is possible to hit assert(fdctrl->dma) by
adding "-machine powernv -device isa-fdc".

This replaces assert() with an error message.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[thuth: Slightly adjusted error message and updated scripts/device-crash-test]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1521193892-15552-3-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-03-26 14:37:13 +02:00
..
dataplane virtio-blk: fix race between .ioeventfd_stop() and vq handler 2018-03-08 17:38:51 +00:00
block.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
cdrom.c block: Clean up includes 2016-01-20 13:36:23 +01:00
ecc.c block: Clean up includes 2016-01-20 13:36:23 +01:00
fdc.c fdc: Exit if ISA controller does not support DMA 2018-03-26 14:37:13 +02:00
hd-geometry.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
m25p80.c maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
Makefile.objs vhost-user-blk: introduce a new vhost-user-blk host device 2018-01-18 21:52:37 +02:00
nand.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
nvme.c pci: removed the is_express field since a uniform interface was inserted 2018-02-08 21:06:41 +02:00
nvme.h block: Move NVMe constants to a separate header 2018-02-08 09:22:03 +08:00
onenand.c Fixes after renaming __FUNCTION__ to __func__ 2018-01-22 09:46:57 +01:00
pflash_cfi01.c hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device() 2017-07-14 17:59:42 +01:00
pflash_cfi02.c hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device() 2017-07-14 17:59:42 +01:00
tc58128.c block: Use DIV_ROUND_UP 2016-06-07 18:19:24 +03:00
trace-events trace: avoid SystemTap "char const" warnings 2018-02-19 13:09:44 +00:00
vhost-user-blk.c Clean up includes 2018-02-09 05:05:11 +01:00
virtio-blk.c virtio-blk: reject configs with logical block size > physical block size 2017-12-19 10:25:09 +00:00
xen_blkif.h xen: import ring.h from xen 2017-04-21 12:41:29 -07:00
xen_disk.c xen-disk: use an IOThread per instance 2017-12-14 15:24:22 -08:00