]> git.proxmox.com Git - mirror_qemu.git/commit
ide: make all commands go through cmd_done
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 4 Aug 2014 21:11:17 +0000 (17:11 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:12 +0000 (18:03 +0100)
commitc7e73adb48abb9fc5cbfc4f1ce6090fbdb0bdbea
tree305929b25a2afa98d2322d43cff0a7a1aef816d0
parent08ee9e3368be0e9394037d339fc4ebf1392a9896
ide: make all commands go through cmd_done

AHCI has code to fill in the D2H FIS trigger the IRQ all over the place.
Centralize this in a single cmd_done callback by generalizing the existing
async_cmd_done callback.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/ahci.c
hw/ide/atapi.c
hw/ide/core.c
hw/ide/internal.h