All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Nicholas A. Bellinger" <nab@linux-iscsi.org>,
	"Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm-devel <kvm@vger.kernel.org>,
	target-devel <target-devel@vger.kernel.org>
Subject: Re: vhost-scsi support for ANY_LAYOUT
Date: Tue, 27 Jan 2015 09:56:01 +0100	[thread overview]
Message-ID: <54C752A1.4040406@redhat.com> (raw)
In-Reply-To: <54C74F6E.6000805@redhat.com>



On 27/01/2015 09:42, Paolo Bonzini wrote:
> > *) When ANY_LAYOUT is negotiated by vhost-scsi, it's expected that
> > virtio-scsi request + response headers may be (but not always..?)
> > combined with data-out + data-in payloads into a single iovec.

Note that request and data-out can be combined, and response + data-in
can be combined, but there still have to be separate iovecs for at least
outgoing and incoming buffers (so 2 buffers for the control and request
queues; 1 buffer for the event queue since it's unidirectional.

Paolo

  reply	other threads:[~2015-01-27  8:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27  6:35 vhost-scsi support for ANY_LAYOUT Nicholas A. Bellinger
2015-01-27  8:42 ` Paolo Bonzini
2015-01-27  8:56   ` Paolo Bonzini [this message]
2015-01-27  8:58   ` Michael S. Tsirkin
2015-01-27  8:52 ` Michael S. Tsirkin
2015-01-27  8:52 ` Michael S. Tsirkin

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=54C752A1.4040406@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=nab@linux-iscsi.org \
    --cc=target-devel@vger.kernel.org \
    /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.