summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-04-19 15:43:41 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-04-19 16:26:33 +0200
commit3e46d87d665bd9114f18e8d4a1b6de3641147775 (patch)
tree262ccd2f64db55bc27a93c209c4ca608c5182e0d /hw
parentf644a2904d5287332e4007f30c105a8622fb3db8 (diff)
downloadhqemu-3e46d87d665bd9114f18e8d4a1b6de3641147775.zip
hqemu-3e46d87d665bd9114f18e8d4a1b6de3641147775.tar.gz
scsi: add SANITIZE command
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/scsi-bus.c1
-rw-r--r--hw/scsi-defs.h1
2 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud