Re: [Qemu-devel] [PATCH for 1.5] ide/macio: fix wrong opaque with TRIM support

2013-05-19 Thread Michael Tokarev
19.05.2013 15:27, Aurelien Jarno wrote: > 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.

Re: [Qemu-devel] [PATCH for 1.5] ide/macio: fix wrong opaque with TRIM support

2013-05-19 Thread Paolo Bonzini
Il 19/05/2013 13:27, Aurelien Jarno ha scritto: > 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 fix

[Qemu-devel] [PATCH for 1.5] ide/macio: fix wrong opaque with TRIM support

2013-05-19 Thread Aurelien Jarno
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