scsi-disk: restruct emulation: GET_CONFIGURATION
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:34:12 +0000 (15:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:40 +0000 (09:41 -0600)
commit32bd5ec376d22e11a77e31d7751611c593cf99c6
tree49b474ff26ec53d21b770baee1428e73a80ecfb5
parentd2cd7250c4473620086e39e04880c8e8ab7078e1
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>
hw/scsi-bus.c
hw/scsi-defs.h
hw/scsi-disk.c