qemu/hw/ide
Aurelien Jarno b9b5df6f0c ide/macio: fix wrong opaque with TRIM support
Commit 215e47b9 enabled TRIM by default, which revealed a bug in TRIM
support for the IDE macio emulation driver, introduced in d353fb72.

The call to dma_bdrv_io() is using a wrong opaque of type IDEState
instead of DBDMA_io. This patch fixes that.

Fixes LP#1179104

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2013-05-20 01:54:14 +02:00
..
ahci.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
ahci.h
atapi.c
cmd646.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
core.c ide: refuse WIN_READ_NATIVE_MAX on empty device 2013-04-15 10:18:05 +02:00
ich.c
internal.h ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
isa.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
macio.c ide/macio: fix wrong opaque with TRIM support 2013-05-20 01:54:14 +02:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c
mmio.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
pci.c ide: Reset BMIDEA bit when the bus master is stopped 2013-05-08 15:28:49 +02:00
pci.h
piix.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
qdev.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00
via.c ahci: Don't allow creating slave drives 2013-05-08 15:28:49 +02:00