From: Christoph Hellwig <hch@lst.de>
To: Dor Laor <dlaor@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_STORAGE_SCSI
Date: Thu, 30 Apr 2009 22:31:22 +0200 [thread overview]
Message-ID: <20090430203122.GA31440@lst.de> (raw)
In-Reply-To: <49FA0788.5000809@redhat.com>
On Thu, Apr 30, 2009 at 11:18:16PM +0300, Dor Laor wrote:
> Christoph Hellwig wrote:
> >On Thu, Apr 30, 2009 at 10:13:48PM +0300, Dor Laor wrote:
> >
> >>Windows virtio driver cannot pass DTM (certification) tests
> >>while the storage class is PCI_CLASS_STORAGE_UNKNOWN.
> >>
> >
> >Well, it isn't scsi so this is wrong. Tell these certification people
> >to fix their test.
> >
> It's also not unknown... someone I know implemented scsi pass through so
> it is
> more close to scsi than to unknown..
> These certification people are M$ so it is simpler to do this harmless
> change instead
> of waiting some light years.
It only supports limited scsi cdb passthrough _if_ it's using a raw host
device supporting the SG_IO ioctl on Linux. That's a lot of ifs and
whens and definitively not anything like a SCSI HBA. Now fortunately
the pci class IDs don't matter too much in real life, but I'd rather
not change it from the correct to the wrong one. Especially as there
might be all kinds of weird breakages in existing setups when the pci id
changes underneath on a migration / upgrade of the host.
So if you really need this to please a broken testcase add an option to
qemu to use a different pci id just for this broken certification test,
similarly to various other OS workarounds.
next prev parent reply other threads:[~2009-04-30 20:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 19:13 [Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_STORAGE_SCSI Dor Laor
2009-04-30 20:09 ` Christoph Hellwig
2009-04-30 20:18 ` Dor Laor
2009-04-30 20:31 ` Christoph Hellwig [this message]
[not found] ` <49FA1117.1070306@codemonkey.ws>
[not found] ` <49FA1564.5050609@redhat.com>
[not found] ` <49FA180B.8050806@codemonkey.ws>
2009-05-24 15:15 ` [Qemu-devel] [PATCH]Optionally change " Dor Laor
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=20090430203122.GA31440@lst.de \
--to=hch@lst.de \
--cc=dlaor@redhat.com \
--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).