All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Luca Tettamanti <kronos.it@gmail.com>
Cc: kvm@vger.kernel.org, linux-pci@vger.kernel.org
Subject: Re: lspci says: "SCSI storage controller: Qumranet, Inc. Virtio block device". Is it really?
Date: Mon, 19 Oct 2009 15:31:17 +0200	[thread overview]
Message-ID: <4ADC6A25.5080503@wpkg.org> (raw)
In-Reply-To: <68676e00910190609t5dee17e9y9f26b63b7a077de3@mail.gmail.com>

Luca Tettamanti wrote:
> On Mon, Oct 19, 2009 at 2:14 PM, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
>> lspci implies that the virtio block device is a "SCSI storage controller",
>> i.e.:
>>
>> 00:05.0 SCSI storage controller: Qumranet, Inc. Virtio block device
>>
>>
>> However, virtio block devide does not have much to do with SCSI (in sense:
>> sdparm does not think it is a SCSI device; virtio_blk does not depend on any
>> SCSI moduled like sd_mod).
>>
>> Is "SCSI storage controller" a proper description for this device?
> 
> It does not talk SCSI protocol if that's what you're asking. The
> description you see comes from the PCI class (storage controller) and
> subclass (SCSI controller); the meaning of the class/subclass is fixed
> by the PCI standard.

So why was "SCSI storage controller" any better than "IDE interface" or 
"SATA controller" for virtio block device, if it does not talk SCSI 
protocol (other than "SCSI storage controller" being the first on the 
list of subclasses)?


Doesn't "80  Mass storage controller" ("0x80  	0x00  	Other mass storage 
controller") fit better for virtio block device?

Generally, I see that 0x80 is reserved for "other/unspecified" types of 
devices from a given PCI class.


Let me know if I'm asking a stupid question ;)



C 01  Mass storage controller
         00  SCSI storage controller
         01  IDE interface
         02  Floppy disk controller
         03  IPI bus controller
         04  RAID bus controller
         05  ATA controller
                 20  ADMA single stepping
                 30  ADMA continuous operation
         06  SATA controller
                 00  Vendor specific
                 01  AHCI 1.0
         07  Serial Attached SCSI controller
         80  Mass storage controller


-- 
Tomasz Chmielewski
http://wpkg.org

  reply	other threads:[~2009-10-19 13:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19 12:14 lspci says: "SCSI storage controller: Qumranet, Inc. Virtio block device". Is it really? Tomasz Chmielewski
2009-10-19 13:09 ` Luca Tettamanti
2009-10-19 13:31   ` Tomasz Chmielewski [this message]
2009-10-19 13:36     ` Luca Tettamanti
2009-10-19 13:42       ` Tomasz Chmielewski
2009-10-19 13:48         ` Vadim Rozenfeld
2009-10-19 19:01     ` Gerd Hoffmann

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=4ADC6A25.5080503@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=kronos.it@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-pci@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.