qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_


From: Dor Laor
Subject: [Qemu-devel] [PATCH] Change the virtio-block storage class to PCI_CLASS_STORAGE_SCSI
Date: Thu, 30 Apr 2009 22:13:48 +0300
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Windows virtio driver cannot pass DTM (certification) tests
while the storage class is PCI_CLASS_STORAGE_UNKNOWN.

Signed-off-by: Dor Laor <address@hidden>
---
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]