summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/iotests.py
diff options
context:
space:
mode:
authorPaolo Bonzini2018-06-06 21:09:53 +0200
committerJohn Snow2018-06-08 19:36:31 +0200
commit882941a5680db4d3e247a089126be23181ae13fd (patch)
treeecfb9150a19b97e19c904ad5d992803385e71092 /tests/qemu-iotests/iotests.py
parentide: call ide_cmd_done from ide_transfer_stop (diff)
downloadqemu-882941a5680db4d3e247a089126be23181ae13fd.tar.gz
qemu-882941a5680db4d3e247a089126be23181ae13fd.tar.xz
qemu-882941a5680db4d3e247a089126be23181ae13fd.zip
ide: make ide_transfer_stop idempotent
There is code checking s->end_transfer_func and it was not taught about ide_transfer_cancel. We can just use ide_transfer_stop because s->end_transfer_func is only ever called in the DRQ phase. ide_transfer_cancel can then be removed, since it would just be calling ide_transfer_halt. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180606190955.20845-6-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
0 files changed, 0 insertions, 0 deletions