summary refs log tree commit diff stats
path: root/scripts/dump-guest-memory.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-05-13 13:08:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-29 09:11:11 +0200
commit5b956f415a356449a4171d5e0c7d9a25bbc84b5a (patch)
tree6e401b8e6b4814ec82cf5f9d30f18148da5b3b4b /scripts/dump-guest-memory.py
parent94f8ba1125ee7dfc7aa46166c8e3312e5ad949df (diff)
downloadfocaccia-qemu-5b956f415a356449a4171d5e0c7d9a25bbc84b5a.tar.gz
focaccia-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 'scripts/dump-guest-memory.py')
0 files changed, 0 insertions, 0 deletions