commit | c39ce112b60ffafbaf700853e32bea74cbb2c148 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Aug 03 10:49:10 2011 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Aug 12 08:27:37 2011 -0500 |
tree | 057c60e24ca46e5c880fe575fc17620c1dff0ea0 | |
parent | 12010e7b29a2e777153440ded6fd5bd426eed3e4 [diff] |
scsi: pass cdb already to scsi_req_new Right now the CDB is not passed to the SCSIBus until scsi_req_enqueue. Passing it to scsi_req_new will let scsi_req_new dispatch common requests through different reqops. Moving the memcpy to scsi_req_new is a hack that will go away as soon as scsi_req_new will also take care of the parsing. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>