mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
382155536c
commit
5dd90e2ad7
3 changed files with 34 additions and 35 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue