diff options
author | Hannes Reinecke | 2017-08-04 10:36:34 +0200 |
---|---|---|
committer | Paolo Bonzini | 2017-08-08 10:40:20 +0200 |
commit | ded6ddc5a7b95217557fa360913d1213e12d4a6d (patch) | |
tree | 1496e5859ea9a00b4a312f564df8e5d870c5bd8e /target | |
parent | kvm: workaround build break on gcc-7.1.1 / fedora26 (diff) | |
download | qemu-ded6ddc5a7b95217557fa360913d1213e12d4a6d.tar.gz qemu-ded6ddc5a7b95217557fa360913d1213e12d4a6d.tar.xz qemu-ded6ddc5a7b95217557fa360913d1213e12d4a6d.zip |
scsi: clarify sense codes for LUN0 emulation
The LUN0 emulation is just that, an emulation for a non-existing
LUN0. So we should be returning LUN_NOT_SUPPORTED for any request
coming from any other LUN.
And we should be aborting unhandled commands with INVALID OPCODE,
not LUN NOT SUPPORTED.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Message-Id: <1501835795-92331-4-git-send-email-hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions