Thread (1 message) flat view 1 message, 1 author, 2012-08-01

Re: [RFC-v5] tcm_vhost: Initial merge for vhost level target fabric driver

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2012-08-01 06:42:36
Also in: kvm, linux-scsi, qemu-devel

Il 31/07/2012 22:52, Eric Northup ha scritto:
It seems to me like this is not the way that virtio devices are supposed
to behave - if a guest splits a virtio_scsi_cmd_req or _resp across a
page boundary, then this code won't work.
Buffers can cover several pages.  Of course, data buffers have to be at
least sector aligned, but this restriction does not apply to
request/response descriptors.
Quoting the 'Message Framing' part of the virtio spec:

"In particular, no implementation should use the descriptor boundaries
to determine the size of any header in a request. "
True,  but this has never matched reality.

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help