]> xenbits.xensource.com Git - qemu-xen.git/commit
scsi-bus: correct responses for INQUIRY and REQUEST SENSE
authorHannes Reinecke <hare@suse.de>
Fri, 18 Aug 2017 09:37:02 +0000 (11:37 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Sep 2017 22:44:14 +0000 (17:44 -0500)
commitb95fbe6f122af9992a016a620477c6e7f1cc383a
treeb0b2b405aebe5b5c3bf983ab610da26caad70c58
parentb8cd97891978f1eaec84d7ad6f8f6b6767186060
scsi-bus: correct responses for INQUIRY and REQUEST SENSE

According to SPC-3 INQUIRY and REQUEST SENSE should return GOOD
even on unsupported LUNS.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Message-Id: <1503049022-14749-1-git-send-email-hare@suse.de>
Reported-by: Laszlo Ersek <lersek@redhat.com>
Fixes: ded6ddc5a7b95217557fa360913d1213e12d4a6d
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
(cherry picked from commit b07fbce6349c7b84642e7ed56c7a1ac3c1caca61)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/scsi/scsi-bus.c