]> git.proxmox.com Git - mirror_qemu.git/commit
ide: Add silent DRQ cancellation
authorJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:39 +0000 (13:29 -0500)
committerJohn Snow <jsnow@redhat.com>
Wed, 10 Feb 2016 18:29:39 +0000 (13:29 -0500)
commite3044e238302a887cc1a022e358d68b9bdc69573
tree1355e1107a66693b1eb7316122f8a1dff6d57d1d
parent51f7b5b883a2c9cb98ae28f1563b67f4f6d34c90
ide: Add silent DRQ cancellation

Split apart the ide_transfer_stop function into two versions: one that
interrupts and one that doesn't. The one that doesn't can be used to
halt any PIO transfers that are in the DRQ phase. It will not halt
any PIO transfers that are currently in the process of buffering data
for the guest to read.

Signed-off-by: John Snow <jsnow@redhat.com>
Reported-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[Renamed 'etf' to 'end_transfer_func' --js]
Message-id: 1453225191-11871-6-git-send-email-jsnow@redhat.com
hw/ide/core.c