From: Paolo Bonzini <pbonzini@redhat.com>
To: Christoph Hellwig <hch@lst.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH 0/6] SCSI series part 2, rewrite LUN parsing
Date: Wed, 25 May 2011 17:08:25 +0200 [thread overview]
Message-ID: <4DDD1B69.2090100@redhat.com> (raw)
In-Reply-To: <20110525131705.GD2283@lst.de>
On 05/25/2011 03:17 PM, Christoph Hellwig wrote:
> On Fri, May 20, 2011 at 07:37:30PM +0200, Paolo Bonzini wrote:
>> On 05/20/2011 06:14 PM, Christoph Hellwig wrote:
>>> I don't quite understand what you mean with path here. It doesn't
>>> seem to map to any SAM concept, nor does it seem to be related
>>> to traditional multipathing.
>>
>> It's what SAM calls a "bus identifier" in the description of LUN addressing
>> modes.
>
> Ok, so it more or less translates to the concept of a "channel" in
> the Linux SCSI subsystem.
Yes.
> It would help if you could explain the concept
> in a bit more detail in a comment. Or in fact not bother with it at all,
> which should be easy if we never present hierachial LUNs.
Unfortunately spapr_vscsi requires hierarchical LUNs. The OpenFirmware
code starts by sending out INQUIRY messages to channel 0/1/2/3/4/5/6/7
target 0 LUN 0 (it doesn't recognize other targets or LUNs as far as I
can see). So if you want to have a CD-ROM and a HD on your virtual
machine, and you want your HD to keep its name both during the
installation process and afterwards, you pretty much have to use channel
0 for the HD and another channel for the CD-ROM..
Paolo
prev parent reply other threads:[~2011-05-25 15:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-20 15:03 [Qemu-devel] [RFC PATCH 0/6] SCSI series part 2, rewrite LUN parsing Paolo Bonzini
2011-05-20 15:03 ` [Qemu-devel] [RFC PATCH 1/6] scsi: ignore LUN field in the CDB Paolo Bonzini
2011-05-20 16:15 ` Christoph Hellwig
2011-05-20 15:03 ` [Qemu-devel] [RFC PATCH 2/6] scsi: support parsing of SAM logical unit numbers Paolo Bonzini
2011-05-25 13:05 ` Christoph Hellwig
2011-05-20 15:03 ` [Qemu-devel] [RFC PATCH 3/6] scsi-generic: allow customization of the lun Paolo Bonzini
2011-05-25 13:10 ` Christoph Hellwig
2011-05-25 15:20 ` Paolo Bonzini
2011-05-27 13:04 ` Christoph Hellwig
2011-05-27 13:31 ` Paolo Bonzini
2011-05-20 15:03 ` [Qemu-devel] [RFC PATCH 4/6] scsi-disk: " Paolo Bonzini
2011-05-25 13:13 ` Christoph Hellwig
2011-05-20 15:03 ` [Qemu-devel] [RFC PATCH 5/6] scsi: let a SCSIDevice have children devices Paolo Bonzini
2011-05-20 15:03 ` [Qemu-devel] [RFC PATCH 6/6] scsi: add walking of hierarchical LUNs Paolo Bonzini
2011-05-20 16:14 ` [Qemu-devel] [RFC PATCH 0/6] SCSI series part 2, rewrite LUN parsing Christoph Hellwig
2011-05-20 17:37 ` Paolo Bonzini
2011-05-25 13:17 ` Christoph Hellwig
2011-05-25 15:08 ` Paolo Bonzini [this message]
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=4DDD1B69.2090100@redhat.com \
--to=pbonzini@redhat.com \
--cc=hch@lst.de \
--cc=qemu-devel@nongnu.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 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).