Re: [Qemu-devel] [PATCH 6/7] scsi-disk: introduce scsi_disk_req_check_error

2016-05-23 Thread Eric Blake
On 05/23/2016 06:54 AM, Paolo Bonzini wrote: > 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,

[Qemu-devel] [PATCH 6/7] scsi-disk: introduce scsi_disk_req_check_error

2016-05-23 Thread Paolo Bonzini
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 ca