qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Hannes Reinecke <hare@suse.de>,
	"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH] implement vmware pvscsi device
Date: Fri, 15 Apr 2011 22:56:38 +0200	[thread overview]
Message-ID: <4DA8B106.4080809@redhat.com> (raw)
In-Reply-To: <BANLkTi=NvQBuxgZw+uif0O5kdTVRiaRgGQ@mail.gmail.com>

On 04/15/2011 05:04 PM, Stefan Hajnoczi wrote:
> The way I approached virtio-scsi was to look at the SCSI Architecture
> Model document and some of the Linux SCSI code.  I'm not sure if
> letting virtio-blk SCSI pass-through or scsi-generic guide us is a
> good approach.
>
> How do your ioprio and barrier relate to SCSI?

Both are part of the transport protocol, which can provide additional 
features with respect to SAM.  For example SCSI doesn't provide the full 
details of hotplug/hotunplug, or doesn't have a way for the guest to 
trigger a drive unplug on the host, but these are all desirable features 
for virtio-scsi (and they are supported by vmw_pvscsi by the way).

> There seem to be recent/exotic commands that can have both data-in and
> data-out buffers.

That can fit by adding more stuff at the end of the buffer.  It can be 
in the first version, or it can be an extra feature for later.  Since 
QEMU currently cannot handle it, probably it would need negotiation even 
if it were in the first version.

> The sense buffer length is also not necessarily 96
> bytes max, I believe.

I couldn't find that in either SPC or SAM indeed.  It seems like a 
pretty widespread assumption though.  Perhaps Nicholas or Hannes know 
where it comes from.

Paolo

  reply	other threads:[~2011-04-15 20:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15 13:42 [Qemu-devel] [RFC PATCH] implement vmware pvscsi device Paolo Bonzini
2011-04-15 14:01 ` Stefan Hajnoczi
2011-04-15 14:17   ` Paolo Bonzini
2011-04-15 14:28     ` Stefan Hajnoczi
2011-04-15 14:37       ` Paolo Bonzini
2011-04-15 15:04         ` Stefan Hajnoczi
2011-04-15 20:56           ` Paolo Bonzini [this message]
2011-04-18 14:05             ` Hannes Reinecke
2011-04-18 15:27               ` Stefan Hajnoczi
2011-04-18 16:09               ` Paolo Bonzini
2011-04-15 14:55     ` Hannes Reinecke
2011-04-15 14:59       ` 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=4DA8B106.4080809@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=hare@suse.de \
    --cc=mst@redhat.com \
    --cc=nab@linux-iscsi.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).