diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-11-26 15:34:06 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:39 -0600 |
commit | ebddfcbe14c0184ef3821b987b0a9746b4802c27 (patch) | |
tree | 054374f9dfa2074fa87091ea5b9bf4eae8be2d1a /qemu-binfmt-conf.sh | |
parent | 3d53ba18f5bae3208fe42d9c8fba9687394655d5 (diff) |
scsi-disk: restruct emulation: MODE_SENSE
Move MODE_SENSE emulation from scsi_send_command() to
scsi_disk_emulate_command(). Create two helper functions:
mode_sense_page() which writes the actual mode pages and
scsi_disk_emulate_mode_sense() which holds the longish MODE_SENSE
emulation code, calling into mode_sense_page() as needed.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-binfmt-conf.sh')
0 files changed, 0 insertions, 0 deletions