vhost/scsi: Check LUN structure byte 0 is set to 1, per spec
authorVenkatesh Srinivas <venkateshs@google.com>
Mon, 24 Feb 2014 22:13:32 +0000 (14:13 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 25 Feb 2014 00:19:43 +0000 (16:19 -0800)
commit7fe412d07d881020022a188b95c63a19b651a391
treee2eeec574e7abfbfbed2a74094d1bf7a7d58490a
parent6f58c780e5a5b43a6d2121e0d43cdcba1d3cc5fc
vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

The virtio spec requires byte 0 of the virtio-scsi LUN structure
to be '1'.

Signed-off-by: Venkatesh Srinivas <venkateshs@google.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/scsi.c