summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDor Laor <dor@redhat.com>2009-07-09 12:31:44 +0300
committerEduardo Habkost <ehabkost@redhat.com>2009-07-13 16:45:16 -0300
commit8dc6c4f212818563358fc272f47ebe53af98ed44 (patch)
tree68918aaad1cd04e39a31581ae79c9762225af083
parent69aacebc5997494923b0247abf01bbbf784ad67a (diff)
Windows virtio driver cannot pass WHQL certification tests
while the storage class is PCI_CLASS_STORAGE_UNKNOWN. QEMU upstream will use this default for 0.11. http://lists.gnu.org/archive/html/qemu-devel/2009-07/threads.html#00478 We do not have backward compatibility issue for qemu/kvm, so it can be hardcoded BZ 497058 Signed-off-by: Dor Laor <dor@redhat.com> Message-ID: <4A55B9F3.8050006@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Bugzilla: 497058 Acked-by: Mark McLoughlin <markmc@redhat.com> Acked-by: Glauber Costa <glommer@redhat.com> Acked-by: john cooper <john.cooper@redhat.com>
-rw-r--r--qemu/hw/virtio-blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu/hw/virtio-blk.c b/qemu/hw/virtio-blk.c
index ed8575b0..e4060d42 100644
--- a/qemu/hw/virtio-blk.c
+++ b/qemu/hw/virtio-blk.c
@@ -310,7 +310,7 @@ void *virtio_blk_init(PCIBus *bus, BlockDriverState *bs)
PCI_DEVICE_ID_VIRTIO_BLOCK,
PCI_VENDOR_ID_REDHAT_QUMRANET,
VIRTIO_ID_BLOCK,
- 0x01, 0x80, 0x00,
+ 0x01, 0x00, 0x00,
sizeof(struct virtio_blk_config), sizeof(VirtIOBlock));
if (!s)
return NULL;