From: Dor Laor <dlaor@redhat.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_STORAGE_SCSI
Date: Thu, 30 Apr 2009 22:13:48 +0300 [thread overview]
Message-ID: <49F9F86C.3000009@redhat.com> (raw)
Windows virtio driver cannot pass DTM (certification) tests
while the storage class is PCI_CLASS_STORAGE_UNKNOWN.
Signed-off-by: Dor Laor <dor@redhat.com>
---
hw/virtio-blk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index 51a8e22..6c23ec6 100644
--- a/hw/virtio-blk.c
+++ b/hw/virtio-blk.c
@@ -250,7 +250,7 @@ void *virtio_blk_init(PCIBus *bus, BlockDriverState *bs)
PCI_DEVICE_ID_VIRTIO_BLOCK,
PCI_VENDOR_ID_REDHAT_QUMRANET,
VIRTIO_ID_BLOCK,
- PCI_CLASS_STORAGE_OTHER, 0x00,
+ PCI_CLASS_STORAGE_SCSI, 0x00,
sizeof(struct
virtio_blk_config), sizeof(VirtIOBlock));
if (!s)
return NULL;
--
1.5.6.6
next reply other threads:[~2009-04-30 19:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 19:13 Dor Laor [this message]
2009-04-30 20:09 ` [Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_STORAGE_SCSI Christoph Hellwig
2009-04-30 20:18 ` Dor Laor
2009-04-30 20:31 ` Christoph Hellwig
[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=49F9F86C.3000009@redhat.com \
--to=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).