]> git.proxmox.com Git - qemu.git/commit
scsi: move SCSIRequest management to common code.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:33:50 +0000 (15:33 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:36 +0000 (09:41 -0600)
commit89b08ae15449fe433325061ebb928766a1c77381
tree87543c67167a00d0d2d1b60e940b6afc6c41a3fc
parent9af99d980e9ff6270f291b11a064087b33dd3ab8
scsi: move SCSIRequest management to common code.

Create generic functions to allocate, find and release SCSIRequest
structs.  Make scsi-disk and scsi-generic use them.

Signed-off-by: Gerd Hoffmann <kraxel@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