]> git.proxmox.com Git - qemu.git/commit
scsi: Add 'hba_private' to SCSIRequest
authorHannes Reinecke <hare@suse.de>
Mon, 11 Jul 2011 13:02:24 +0000 (15:02 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 19 Jul 2011 13:38:58 +0000 (15:38 +0200)
commitc5bf71a9a3b10c0cce877b7b3add4484322d3e2c
tree6f1264c7e1d0ad43429b136076db8629d930502a
parent348e7b8dcd1460df4d681105f63dd90bba70496d
scsi: Add 'hba_private' to SCSIRequest

'tag' is just an abstraction to identify the command
from the driver. So we should make that explicit by
replacing 'tag' with a driver-defined pointer 'hba_private'.
This saves the lookup for driver handling several commands
in parallel.
'tag' is still being kept for tracing purposes.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/esp.c
hw/lsi53c895a.c
hw/scsi-bus.c
hw/scsi-disk.c
hw/scsi-generic.c
hw/scsi.h
hw/spapr_vscsi.c
hw/usb-msd.c