qemu-e2k/hw/ide
Paolo Bonzini d53cdb307a ide: fail I/O to empty disk
Requesting a read or a write operation on an empty disk can lead
to QEMU dumping core.

Also fix a few braces here and there.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-02-29 12:48:46 +01:00
..
ahci.c ahci: use new DMA helpers 2012-02-22 13:29:07 +01:00
ahci.h ahci: add port I/O index-data pair 2011-09-21 14:32:20 +02:00
atapi.c block: Don't call bdrv_eject() if the tray state didn't change 2012-02-22 17:23:21 -02:00
cmd646.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
core.c ide: fail I/O to empty disk 2012-02-29 12:48:46 +01:00
ich.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
internal.h ide: convert to QEMU Object Model 2012-01-27 10:50:49 -06:00
isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
macio.c block: dma_bdrv_* does not return NULL 2011-12-15 12:40:08 +01:00
microdrive.c hw: Trim superfluous #include "block_int.h" 2011-09-12 15:17:21 +02:00
mmio.c ide/mmio: convert to memory API 2011-11-24 18:31:59 +02:00
pci.c ide: fix compilation errors when DEBUG_IDE is set 2012-02-10 10:44:52 +00:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-02-17 06:48:47 -06:00
qdev.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
via.c qom: Unify type registration 2012-02-15 09:39:21 -06:00