qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] b9b5df: ide/macio: fix wrong opaque with TRIM


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b9b5df: ide/macio: fix wrong opaque with TRIM support
Date: Sun, 19 May 2013 17:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b9b5df6f0cee6b09ef3b2e5228761dd3c2cdcad7
      
https://github.com/qemu/qemu/commit/b9b5df6f0cee6b09ef3b2e5228761dd3c2cdcad7
  Author: Aurelien Jarno <address@hidden>
  Date:   2013-05-19 (Sun, 19 May 2013)

  Changed paths:
    M hw/ide/macio.c

  Log Message:
  -----------
  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 <address@hidden>
Tested-off-by: Michael Tokarev <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]