On Thu, Jul 12, 2012 at 11:02:54AM +0200, Stefan Fritsch wrote: > On Wed, 11 Jul 2012, Matthew Dempsky wrote: > >There are quite a few pretendy-SCSI drivers in the tree, but most of > >them deal with fairly complicated hardware so they're not good > >reference points. > > > >sparc64's vdsk(4) driver is probably the best reference point, since > >it's also for a virtual disk driver (see sys/arch/sparc64/dev/vdsk.c).
If you would like to dig into vmware pvscsi support, I'm more than happy to do testing :) http://lxr.linux.no/#linux+v3.4.4/drivers/scsi/vmw_pvscsi.c jirib