scsi-generic: do not do VPD emulation for sense other than ILLEGAL_REQUEST
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Oct 2018 22:58:21 +0000 (00:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Nov 2018 20:35:06 +0000 (21:35 +0100)
commit763c56872b08b98fde062a1feca003f200e7bd5c
tree4ffff79e545d8182956f63afa5799cf01989daf0
parent3d4a8bf0eed68a781e06118e4d1df6e2f106a1f2
scsi-generic: do not do VPD emulation for sense other than ILLEGAL_REQUEST

Pass other sense, such as UNIT_ATTENTION or BUSY, directly to the
guest.

Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-generic.c