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. > > Fixes LP#1179104 > > Reported-by: Michael Tokarev <m...@tls.msk.ru> > Cc: Kevin Wolf <kw...@redhat.com> > Cc: Christoph Hellwig <h...@lst.de> > Signed-off-by: Aurelien Jarno <aurel...@aurel32.net>
Tested-off-by: Michael Tokarev <m...@tls.msk.ru> I can confirm with this patch the ppc testcase works again. Thanks! /mjt