summaryrefslogtreecommitdiff
path: root/hw/scsi.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-10-12 12:58:31 +0200
committerKevin Wolf <kwolf@redhat.com>2011-10-28 19:25:52 +0200
commit63db0f0eee3c0b2cc3a06b36daf50c4e7801ea1b (patch)
tree6472059e8edd009d8ae69fc2752018108adfb42d /hw/scsi.h
parent765d1525a6c727674c5f6f459da4fdaeeda91162 (diff)
downloadqemu-63db0f0eee3c0b2cc3a06b36daf50c4e7801ea1b.tar.gz
qemu-63db0f0eee3c0b2cc3a06b36daf50c4e7801ea1b.tar.bz2
qemu-63db0f0eee3c0b2cc3a06b36daf50c4e7801ea1b.zip
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>
Diffstat (limited to 'hw/scsi.h')
-rw-r--r--hw/scsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi.h b/hw/scsi.h
index 01c6655f60..8ea744a392 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);
};