]> git.proxmox.com Git - qemu.git/commit - hw/scsi/scsi-disk.c
scsi: introduce SCSIReqOps
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Aug 2011 08:49:08 +0000 (10:49 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 12 Aug 2011 13:27:36 +0000 (08:27 -0500)
commit8dbd4574882cade8261c2b6225df68a65345c75c
tree59101dbc9f0c5d838294da898122fe6e0c59881f
parentb45ef674f4c403398e75c6be02e27a0bfa813a11
scsi: introduce SCSIReqOps

This will let allow requests to be dispatched through different callbacks,
either common or per-device.

This patch adjusts the API, the next one will move members to SCSIReqOps.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/scsi.h