qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_STORAGE_SCSI
@ 2009-04-30 19:13 Dor Laor
  2009-04-30 20:09 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Dor Laor @ 2009-04-30 19:13 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-24 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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).