Christoph Hellwig wrote:
Should we be
handling some SCSI cmds internally to QEMU (like eject operations) and
supporting media=cdrom in -drive for if=virtio?
Not quite yet. Eventually I want to support a virtio-scsi kind of
transport which would use the same virtio-blk protocol but only send
scsi commands. We'd need a different driver on the Linux side for
it that registers to the scsi layer. On the QEMU side it could either
do pass-through to a real scsi device using SG_IO or use the existing
command scsi emulator in scsi-disk.c.
Ah, excellent. I think that's a great thing to do. So do you think
virtio-scsi would deprecate virtio-blk?
I've gotten a number of requests for exposing stuff like VPD through
virtio-blk. There's also a surprising amount of software out there that
assumes /dev/sdX or /dev/hdX naming.
Regards,
Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html