On Mon, 07/15 11:34, Kevin Wolf wrote: > AHCI couldn't cope with asynchronous commands that aren't doing DMA, it > simply wouldn't complete them. Due to the bug fixed in commit f68ec837, > FLUSH commands would seem to have completed immediately even if they > were still running on the host. After the commit, they would simply hang > and never unset the BSY bit, rendering AHCI unusable on any OS sending > flushes. > > This patch adds another callback for the completion of asynchronous > commands. This is what AHCI really wants to use for its command > completion logic rather than an DMA completion callback. > > Cc: qemu-sta...@nongnu.org > Signed-off-by: Kevin Wolf <kw...@redhat.com>
Works for me, thanks. Tested-by: Fam Zheng <f...@redhat.com>