From 63db0f0eee3c0b2cc3a06b36daf50c4e7801ea1b Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 12 Oct 2011 12:58:31 +0200 Subject: scsi: pass cdb to alloc_req This will let scsi-block choose between passthrough and emulation. Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- hw/scsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/scsi.h') diff --git a/hw/scsi.h b/hw/scsi.h index 01c6655..8ea744a 100644 --- a/hw/scsi.h +++ b/hw/scsi.h @@ -94,7 +94,7 @@ struct SCSIDeviceInfo { scsi_qdev_initfn init; void (*destroy)(SCSIDevice *s); SCSIRequest *(*alloc_req)(SCSIDevice *s, uint32_t tag, uint32_t lun, - void *hba_private); + uint8_t *buf, void *hba_private); void (*unit_attention_reported)(SCSIDevice *s); }; -- cgit v1.1