scsi: pass cdb to alloc_req
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Oct 2011 10:58:31 +0000 (12:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Oct 2011 17:25:52 +0000 (19:25 +0200)
commitc411a087e9591cac189ef51387f9de45b96a8cfa
tree6472059e8edd009d8ae69fc2752018108adfb42d
parent74a5cfe1a72b7c45bfd98fd91250e50a28e48781
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>
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/scsi.h