* VIRTIO_BLK_T_SCSI_CMD in the virtio-blk protocol
@ 2009-03-18 6:04 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2009-03-18 6:04 UTC (permalink / raw)
To: Rusty Russell; +Cc: Christian Borntraeger, Anthony Liguori, linux-kernel
Currently when virtio-blk gets a packet command request it just sets
the VIRTIO_BLK_T_SCSI_CMD flag in the type field, a zero sector and
sends down the request payload.
However for packet command requests they payload doesn't really say
anything about the command, we could need the cmd array to specify what
command (and offset/length) we're actually sending.
As far as I can see none of the backends actually implements
VIRTIO_BLK_T_SCSI_CMD support, so no harm is done here.
Should we just remove all handling of this flag until we have proper
support for it? That would most like mean sending down another S/G
sement with the scsi command before the actual data.
Btw, is there a protocol spec for virtio-blk somewhere?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-18 6:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-18 6:04 VIRTIO_BLK_T_SCSI_CMD in the virtio-blk protocol Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome