summaryrefslogtreecommitdiffstats
path: root/hw/scsi-bus.c
diff options
context:
space:
mode:
authorGerd Hoffmann2009-11-26 15:34:12 +0100
committerAnthony Liguori2009-12-03 16:41:40 +0100
commit382155536cdbffb9ea621f61773109594626ba01 (patch)
tree49b474ff26ec53d21b770baee1428e73a80ecfb5 /hw/scsi-bus.c
parentscsi-disk: restruct emulation: READ_TOC (diff)
downloadqemu-382155536cdbffb9ea621f61773109594626ba01.tar.gz
qemu-382155536cdbffb9ea621f61773109594626ba01.tar.xz
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-bus.c')
-rw-r--r--hw/scsi-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index e362671d87..09b6fa98dd 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -440,6 +440,7 @@ static const char *scsi_command_name(uint8_t cmd)
[ REWIND ] = "REWIND",
[ REPORT_DENSITY_SUPPORT ] = "REPORT_DENSITY_SUPPORT",
+ [ GET_CONFIGURATION ] = "GET_CONFIGURATION",
[ LOAD_UNLOAD ] = "LOAD_UNLOAD",
[ SET_CD_SPEED ] = "SET_CD_SPEED",
[ BLANK ] = "BLANK",