From: Paolo Bonzini <pbonzini@redhat.com>
To: Hannes Reinecke <hare@suse.de>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
qemu-devel@nongnu.org,
"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [RFC PATCH] implement vmware pvscsi device
Date: Mon, 18 Apr 2011 18:09:42 +0200 [thread overview]
Message-ID: <4DAC6246.5030908@redhat.com> (raw)
In-Reply-To: <4DAC4516.6090600@suse.de>
On 04/18/2011 04:05 PM, Hannes Reinecke wrote:
> My proposal would be to implement a full virtio-scsi _host_, and extend
> the proposal to be able to handle the transport layer too.
Yes, I have added this independently from Friday to today, and it is why
I haven't sent the proposal yet.
> At the lastest we would need to include a LUN address before the CDB,
> and define TMF command values for proper error recovery.
I haven't yet worked out TMF, but I did add a LUN.
> That way we could handle hotplug / -unplug via a simple host rescan
It's a bit more complicated because you also want guest-initiated
unplug, and SAM transport reset events include more than hotplug/unplug.
>> 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.
>>
> 96 bytes is a carry-over from scsi parallel. We shouldn't rely
> on a fixed length here but rather use an additional pointer/iovec and
> length field.
>
> Check SG_IO header on how it's done.
Will do.
Paolo
next prev parent reply other threads:[~2011-04-18 16:09 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
2011-04-18 14:05 ` Hannes Reinecke
2011-04-18 15:27 ` Stefan Hajnoczi
2011-04-18 16:09 ` Paolo Bonzini [this message]
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=4DAC6246.5030908@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).