diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-08 09:53:42 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-26 17:44:09 +0200 |
commit | b08d0ea0446aa91f373c9df4254ba3bc4ee84098 (patch) | |
tree | 928f420d7d6c7c3bfe54e52f1d42b1fba66f09cb /console.c | |
parent | 101aa85f9862f23e17dec570221f53c46c5e86e1 (diff) |
scsi-disk: split scsi-disk reqops
Only checks for present medium were still done in scsi_send_command
for emulated commands. So move those to scsi_disk_emulate_command
and return different SCSIReqOps depending on the kind of command.
Checks for present medium can be done unconditionally for the
scsi_disk_dma_reqops case.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'console.c')
0 files changed, 0 insertions, 0 deletions