diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-13 13:08:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-29 09:11:11 +0200 |
commit | 5b956f415a356449a4171d5e0c7d9a25bbc84b5a (patch) | |
tree | 6e401b8e6b4814ec82cf5f9d30f18148da5b3b4b /scripts/qapi.py | |
parent | 94f8ba1125ee7dfc7aa46166c8e3312e5ad949df (diff) | |
download | qemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.zip qemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.tar.gz qemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.tar.bz2 |
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 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions