summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2016-05-13 13:08:13 +0200
committerPaolo Bonzini2016-05-29 09:11:11 +0200
commit5b956f415a356449a4171d5e0c7d9a25bbc84b5a (patch)
tree6e401b8e6b4814ec82cf5f9d30f18148da5b3b4b /include/exec
parentscsi-disk: add need_fua_emulation to SCSIDiskClass (diff)
downloadqemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.tar.gz
qemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.tar.xz
qemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.zip
scsi-disk: introduce scsi_disk_req_check_error
Commonize all the checks for canceled requests and errors. The next patch will add another case to check for, in order to handle passthrough commands. There is no semantic change here; the only nontrivial modification is in scsi_write_do_fua, where cancellation has been checked earlier by both callers. Thus, the check is replaced with an assertion. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions