]> git.proxmox.com Git - qemu.git/commit - hw/scsi-bus.c
scsi: move request lists to QTAILQ.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:33:49 +0000 (15:33 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:36 +0000 (09:41 -0600)
commit9af99d980e9ff6270f291b11a064087b33dd3ab8
treeb0ac0266b94e7024c904973dddf84b51ca14b4ec
parent4c41d2ef5f599372a35d446fb75898fe9841bda4
scsi: move request lists to QTAILQ.

Changes:
 * Move from open-coded lists to QTAILQ macros.
 * Move the struct elements to the common data structures
   (SCSIDevice + SCSIRequest).
 * Drop free request pools.
 * Fix request cleanup in the destroy callback.

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