diff options
author | Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com> | 2019-07-02 10:08:00 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-15 11:20:42 +0200 |
commit | d31347f5ff6c637a11245d244ff5449a94bf8256 (patch) | |
tree | 16022e2dd261b1a48f056a45d953f08680b58252 /include/scsi | |
parent | 46cd24e7ed38191b5ab5c40a836d6c5b6b604f8a (diff) |
scsi-disk: pass sense correctly for guest-recoverable errors
When an error was passed down to the guest because it was recoverable,
the sense length was not copied from the SG_IO data. As a result,
the guest saw the CHECK CONDITION status but not the sense data.
Signed-off-by: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions