On Wed, 11 Jul 2012, Ted Unangst wrote:
We are consolidating and reducing the number of disk types. I think this would be better if it attached as scsi disks, which is what all the cool virtual disks do these days.
There is a virtio-scsi device, too, but this is only supported in very recent versions of qemu. To attach the simpler virtio-block device as scsi, the driver would have to emulate the scsi commands. Is there some generic infrastructure to do that? Or which driver would you recommend to take the emulation code from? sys/dev/ata/atascsi.c seems rather complex (it is twice the size of sys/dev/pci/viod.c).