summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@amazon.com>2013-10-10 10:03:00 -0700
committerAnthony Liguori <aliguori@amazon.com>2013-10-10 10:03:00 -0700
commit634ebf4b177723f2cf329a719f31913cf9ce5de6 (patch)
treebebcb1a4a51356c37bff35be8d97d63ccefc2783 /include
parentc4ca6901582c00a2d13368520779e4948b184071 (diff)
parent846424350b292f16b732b573273a5c1f195cd7a3 (diff)
downloadqemu-634ebf4b177723f2cf329a719f31913cf9ce5de6.tar.gz
Merge remote-tracking branch 'bonzini/scsi-next' into staging
# By Asias He (1) and Peter Lieven (1) # Via Paolo Bonzini * bonzini/scsi-next: scsi: Allocate SCSITargetReq r->buf dynamically [CVE-2013-4344] block/iscsi: reenable iscsi_co_get_block_status Message-id: 1381332391-8781-1-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@amazon.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/scsi/scsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h
index 1b6651054a..76f6ac24a7 100644
--- a/include/hw/scsi/scsi.h
+++ b/include/hw/scsi/scsi.h
@@ -9,6 +9,8 @@
#define MAX_SCSI_DEVS 255
#define SCSI_CMD_BUF_SIZE 16
+#define SCSI_SENSE_LEN 18
+#define SCSI_INQUIRY_LEN 36
typedef struct SCSIBus SCSIBus;
typedef struct SCSIBusInfo SCSIBusInfo;