diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-11-26 15:34:13 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:40 -0600 |
commit | 5dd90e2ad7a0ac27fc132f778827e70b7dbaf627 (patch) | |
tree | 681ba7ee21a493cd40dbd4767c004e45f8bfdd26 /hw/scsi-bus.c | |
parent | 382155536cdbffb9ea621f61773109594626ba01 (diff) | |
download | qemu-5dd90e2ad7a0ac27fc132f778827e70b7dbaf627.zip qemu-5dd90e2ad7a0ac27fc132f778827e70b7dbaf627.tar.gz qemu-5dd90e2ad7a0ac27fc132f778827e70b7dbaf627.tar.bz2 |
scsi-disk: restruct emulation: SERVICE_ACTION_IN
Move SERVICE_ACTION_IN emulation from scsi_send_command() to
scsi_disk_emulate_command().
Also add SERVICE_ACTION_IN 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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c index 09b6fa9..deb6b4f 100644 --- a/hw/scsi-bus.c +++ b/hw/scsi-bus.c @@ -441,6 +441,7 @@ static const char *scsi_command_name(uint8_t cmd) [ REWIND ] = "REWIND", [ REPORT_DENSITY_SUPPORT ] = "REPORT_DENSITY_SUPPORT", [ GET_CONFIGURATION ] = "GET_CONFIGURATION", + [ SERVICE_ACTION_IN ] = "SERVICE_ACTION_IN", [ LOAD_UNLOAD ] = "LOAD_UNLOAD", [ SET_CD_SPEED ] = "SET_CD_SPEED", [ BLANK ] = "BLANK", |