summaryrefslogtreecommitdiff
path: root/hw/scsi-defs.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-04 10:28:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-05-07 08:44:21 +0200
commit065c25996b6275e306704816c6075d6c0ff66e84 (patch)
tree88fa38172598fabaaa2b27e119afe253d8f60c61 /hw/scsi-defs.h
parentf62d0594604399e89ca8ece730a2a79110de5d77 (diff)
downloadqemu-065c25996b6275e306704816c6075d6c0ff66e84.tar.gz
scsi: parse 16-byte tape CDBs
The transfer length for these commands is different from the transfer length of the corresponding disk commands, so parse it specially. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-defs.h')
-rw-r--r--hw/scsi-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-defs.h b/hw/scsi-defs.h
index ca24192d53..219c84dfb1 100644
--- a/hw/scsi-defs.h
+++ b/hw/scsi-defs.h
@@ -92,6 +92,7 @@
#define PERSISTENT_RESERVE_OUT 0x5f
#define VARLENGTH_CDB 0x7f
#define WRITE_FILEMARKS_16 0x80
+#define READ_REVERSE_16 0x81
#define ALLOW_OVERWRITE 0x82
#define EXTENDED_COPY 0x83
#define ATA_PASSTHROUGH 0x85