scsi-disk: add some optional scsi commands
authorBernhard Kohl <bernhard.kohl@nsn.com>
Mon, 6 Sep 2010 09:50:55 +0000 (11:50 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Sep 2010 10:39:18 +0000 (12:39 +0200)
commit2702813456c5addc3cdc883abde7380ecc3ef72e
treec0ec69bfa6e57f57ee890990d22a6b733c85b27c
parenta00d9f43932fa51e1d0ed9fbad646a8db5f8cc99
scsi-disk: add some optional scsi commands

I use a legacy OS which depends on some optional SCSI commands.
In fact this implementation does nothing special, but provides minimum
support for the following commands:

REZERO UNIT
WRITE AND VERIFY(10)
WRITE AND VERIFY(12)
WRITE AND VERIFY(16)
MODE SELECT(6)
MODE SELECT(10)
SEEK(6)
SEEK(10)

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