Skip to content
Snippets Groups Projects
Commit d31347f5 authored by Shin'ichiro Kawasaki's avatar Shin'ichiro Kawasaki Committed by Paolo Bonzini
Browse files

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: default avatarShinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 46cd24e7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment