scsi-disk: restruct emulation: REQUEST_SENSE
commit51ad87c963dfd3fb12316338cee8b75395bd1686
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:34:03 +0000 (26 15:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:38 +0000 (3 09:41 -0600)
tree0068523f4ab52e7208a283bc011f8f2bd758bb88
parentaa5dbdc190644cf36e4e7fbd68b4e40e13209039
scsi-disk: restruct emulation: REQUEST_SENSE

Move REQUEST_SENSE emulation from scsi_send_command() to
scsi_disk_emulate_command().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-disk.c