From: Paolo Bonzini <pbonzini@redhat.com>
To: Eric Northup <digitaleric@google.com>
Cc: Jens Axboe <axboe@kernel.dk>,
Anthony Liguori <aliguori@us.ibm.com>,
linux-scsi <linux-scsi@vger.kernel.org>,
kvm-devel <kvm@vger.kernel.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
qemu-devel <qemu-devel@nongnu.org>,
lf-virt <virtualization@lists.linux-foundation.org>,
Anthony Liguori <aliguori@linux.vnet.ibm.com>,
target-devel <target-devel@vger.kernel.org>,
Zhi Yong Wu <wuzhy@cn.ibm.com>, Christoph Hellwig <hch@lst.de>,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: Re: [RFC-v5] tcm_vhost: Initial merge for vhost level target fabric driver
Date: Wed, 01 Aug 2012 08:42:36 +0200 [thread overview]
Message-ID: <5018CFDC.4020703@redhat.com> (raw)
In-Reply-To: <CAG7+5M35QAK=ggAJRZtga0PWw5VZFi-mraKEAkWiq16U3ysxjg@mail.gmail.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: Eric Northup <digitaleric@google.com>
Cc: Jens Axboe <axboe@kernel.dk>,
Anthony Liguori <aliguori@us.ibm.com>,
linux-scsi <linux-scsi@vger.kernel.org>,
kvm-devel <kvm@vger.kernel.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
qemu-devel <qemu-devel@nongnu.org>,
"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
lf-virt <virtualization@lists.linux-foundation.org>,
Anthony Liguori <aliguori@linux.vnet.ibm.com>,
target-devel <target-devel@vger.kernel.org>,
Hannes Reinecke <hare@suse.de>, Zhi Yong Wu <wuzhy@cn.ibm.com>,
Christoph Hellwig <hch@lst.de>,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [RFC-v5] tcm_vhost: Initial merge for vhost level target fabric driver
Date: Wed, 01 Aug 2012 08:42:36 +0200 [thread overview]
Message-ID: <5018CFDC.4020703@redhat.com> (raw)
In-Reply-To: <CAG7+5M35QAK=ggAJRZtga0PWw5VZFi-mraKEAkWiq16U3ysxjg@mail.gmail.com>
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
next prev parent reply other threads:[~2012-08-01 6:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-26 23:43 [RFC-v5] tcm_vhost: Initial merge for vhost level target fabric driver Nicholas A. Bellinger
2012-07-26 23:43 ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-29 13:40 ` Michael S. Tsirkin
2012-07-29 13:40 ` [Qemu-devel] " Michael S. Tsirkin
2012-07-30 22:10 ` Nicholas A. Bellinger
2012-07-30 22:10 ` Nicholas A. Bellinger
2012-07-30 22:10 ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-31 20:52 ` Eric Northup
2012-07-31 20:52 ` Eric Northup
2012-07-31 20:52 ` [Qemu-devel] " Eric Northup
2012-08-01 6:42 ` Paolo Bonzini [this message]
2012-08-01 6:42 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5018CFDC.4020703@redhat.com \
--to=pbonzini@redhat.com \
--cc=aliguori@linux.vnet.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=axboe@kernel.dk \
--cc=digitaleric@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=kvm@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@linux.vnet.ibm.com \
--cc=target-devel@vger.kernel.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=wuzhy@cn.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.