diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-11-26 15:34:04 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:39 -0600 |
commit | 0b06c05979075cbf224724f5ac1a3f4d713ccdd8 (patch) | |
tree | a76b7dd301131450a86ee31b3679efafdcbbfded /hw/armv7m_nvic.c | |
parent | 51ad87c963dfd3fb12316338cee8b75395bd1686 (diff) |
scsi-disk: restruct emulation: INQUIRY
Move INQUIRY emulation from scsi_send_command() to
scsi_disk_emulate_command(). Also split the longish INQUITY emulation
code into the new scsi_disk_emulate_inquiry() function. Serial number
handling is slightly changed, we don't copy it any more but look it up
directly in DriveInfo which we have at hand anyway.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/armv7m_nvic.c')
0 files changed, 0 insertions, 0 deletions