scsi_bus: fix length and xfer_mode for RESERVE and RELEASE commands
authorBernhard Kohl <bernhard.kohl@nsn.com>
Mon, 6 Sep 2010 14:58:44 +0000 (16:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 21 Sep 2010 13:39:43 +0000 (15:39 +0200)
commitc01ab9d0d12807831f3035d3dca3cb07ff41a1d3
tree8eaf41065b7ec0d47dd53e841bf1bf10eb9c1872
parent3f48a9f629c3bc1d547aafa9bc8ce8833d25b1c1
scsi_bus: fix length and xfer_mode for RESERVE and RELEASE commands

For the RESERVE and RELEASE commands the length must be zero
and xfer_mode must be SCSI_XFER_NONE.

Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-bus.c