summaryrefslogtreecommitdiff
path: root/hw/scsi-defs.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-11-26 15:34:12 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:40 -0600
commit382155536cdbffb9ea621f61773109594626ba01 (patch)
tree49b474ff26ec53d21b770baee1428e73a80ecfb5 /hw/scsi-defs.h
parent02880f434912ca9dcc346d28d375003172b9e650 (diff)
downloadqemu-382155536cdbffb9ea621f61773109594626ba01.tar.gz
qemu-382155536cdbffb9ea621f61773109594626ba01.tar.bz2
qemu-382155536cdbffb9ea621f61773109594626ba01.zip
scsi-disk: restruct emulation: GET_CONFIGURATION
Move GET_CONFIGURATION emulation from scsi_send_command() to scsi_disk_emulate_command(). Also add GET_CONFIGURATION to scsi-defs.h and scsi_command_name(). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.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 1701521ad7..fbcfaa6771 100644
--- a/hw/scsi-defs.h
+++ b/hw/scsi-defs.h
@@ -99,6 +99,7 @@
/* from hw/scsi-generic.c */
#define REWIND 0x01
#define REPORT_DENSITY_SUPPORT 0x44
+#define GET_CONFIGURATION 0x46
#define LOAD_UNLOAD 0xa6
#define SET_CD_SPEED 0xbb
#define BLANK 0xa1