Re: [Qemu-devel] [PATCH 10/16] scsi: Use 'SCSIRequest' directly

2010-11-19 Thread Christoph Hellwig
On Thu, Nov 18, 2010 at 03:47:28PM +0100, Hannes Reinecke wrote: > > Rather than to access a SCSIRequest via an abstract 'tag' we can > as well use it directly and save us the lookup. The get_put/buf methods are a bit misnamed. get/put generally implies refcounting while they are simple alloc/fr

[Qemu-devel] [PATCH 10/16] scsi: Use 'SCSIRequest' directly

2010-11-18 Thread Hannes Reinecke
Rather than to access a SCSIRequest via an abstract 'tag' we can as well use it directly and save us the lookup. Signed-off-by: Hannes Reinecke --- hw/esp.c | 20 --- hw/lsi53c895a.c | 25 + hw/scsi-bus.c | 15 +- hw/scsi-disk.c| 147 ---