scsi-disk: restruct emulation: REPORT_LUNS
commit39ec9a504ddebc9432de892c185447af5b192f2a
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:34:14 +0000 (26 15:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:40 +0000 (3 09:41 -0600)
tree07361cc45f8593a4fdc820ca43e9fba1c39a473c
parent5dd90e2ad7a0ac27fc132f778827e70b7dbaf627
scsi-disk: restruct emulation: REPORT_LUNS

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

Also add REPORT_LUNS 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