scsi: pass cdb to alloc_req

This will let scsi-block choose between passthrough and emulation.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Paolo Bonzini 2011-10-12 12:58:31 +02:00 committed by Kevin Wolf
parent 765d1525a6
commit 63db0f0eee
4 changed files with 5 additions and 5 deletions

View file

@ -431,7 +431,7 @@ const SCSIReqOps scsi_generic_req_ops = {
};
static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun,
void *hba_private)
uint8_t *buf, void *hba_private)
{
SCSIRequest *req;