scsi: create common SCSIRequest structure.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:33:48 +0000 (15:33 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:36 +0000 (09:41 -0600)
commita859883951aba6f07e08928e2ea3b3ac9a2860d7
tree155e31286e9f462e0ce3423bd2e6a1912cfbf585
parent021ff1fd02fd18be1b1b1131de51579de3fe313e
scsi: create common SCSIRequest structure.

Rename the SCSIRequest structs in scsi-disk.c and scsi-generic.c to
SCSIDiskReq and SCSIGenericReq.  Create a SCSIRequest struct and move
the common elements over.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-disk.c
hw/scsi-generic.c
hw/scsi.h