summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Snow2016-09-26 20:33:37 +0200
committerJohn Snow2016-09-29 21:50:29 +0200
commitdf403bc58859c893ebd0accda07678e84d15dc5d (patch)
treee4956eeeacb379cf3bc58a60c811bbfa8fb59bb1 /include
parentide: fix DMA register transitions (diff)
downloadqemu-df403bc58859c893ebd0accda07678e84d15dc5d.tar.gz
qemu-df403bc58859c893ebd0accda07678e84d15dc5d.tar.xz
qemu-df403bc58859c893ebd0accda07678e84d15dc5d.zip
ahci: clear aiocb in ncq_cb
Similar to existing fixes for IDE (87ac25fd) and ATAPI (7f951b2d), the AIOCB must be cleared in the callback. Otherwise, we may accidentally try to reset a dangling pointer in bdrv_aio_cancel() from a port reset. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1474575040-32079-2-git-send-email-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions