ide/macio: fix wrong opaque with TRIM support

Enterprise / Virtualization / QEMU - Aurelien Jarno [aurel32.net] - 19 May 2013 18:54 UTC

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

b9b5df6 ide/macio: fix wrong opaque with TRIM support
hw/ide/macio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: git.qemu.org


  • Share