scsi: ignore LUN field in the CDB
commit1455084ea2c48abf23c4e4e15e378ee43457f381
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 May 2011 14:47:28 +0000 (19 16:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2011 10:14:17 +0000 (26 12:14 +0200)
tree7212f40bade04036422d25ede5a7d88aacce4189
parentaba1f023630146bd7150dd13e8786d1c3e5b2afb
scsi: ignore LUN field in the CDB

The LUN field in the CDB is a historical relic.  Ignore it as reserved,
which is what modern SCSI specifications actually say.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
hw/scsi-disk.c
hw/scsi-generic.c