diff options
author | Hannes Reinecke <hare@suse.de> | 2017-08-04 10:36:34 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-08-08 10:40:20 +0200 |
commit | ded6ddc5a7b95217557fa360913d1213e12d4a6d (patch) | |
tree | 1496e5859ea9a00b4a312f564df8e5d870c5bd8e /block/block-backend.c | |
parent | 1b7ac7cab6a9abaf686fe7a7f4afea155c03d6a8 (diff) |
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 'block/block-backend.c')
0 files changed, 0 insertions, 0 deletions