From 3e46d87d665bd9114f18e8d4a1b6de3641147775 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 19 Apr 2012 15:43:41 +0200 Subject: scsi: add SANITIZE command Signed-off-by: Paolo Bonzini --- hw/scsi-bus.c | 1 + hw/scsi-defs.h | 1 + 2 files changed, 2 insertions(+) (limited to 'hw') diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c index d847396..dbdb99c 100644 --- a/hw/scsi-bus.c +++ b/hw/scsi-bus.c @@ -1200,6 +1200,7 @@ static const char *scsi_command_name(uint8_t cmd) [ UNMAP ] = "UNMAP", [ READ_TOC ] = "READ_TOC", [ REPORT_DENSITY_SUPPORT ] = "REPORT_DENSITY_SUPPORT", + [ SANITIZE ] = "SANITIZE", [ GET_CONFIGURATION ] = "GET_CONFIGURATION", [ LOG_SELECT ] = "LOG_SELECT", [ LOG_SENSE ] = "LOG_SENSE", diff --git a/hw/scsi-defs.h b/hw/scsi-defs.h index 354ed7b..ca24192 100644 --- a/hw/scsi-defs.h +++ b/hw/scsi-defs.h @@ -78,6 +78,7 @@ #define READ_TOC 0x43 #define REPORT_DENSITY_SUPPORT 0x44 #define GET_CONFIGURATION 0x46 +#define SANITIZE 0x48 #define GET_EVENT_STATUS_NOTIFICATION 0x4a #define LOG_SELECT 0x4c #define LOG_SENSE 0x4d -- cgit v1.1