Change default PCI class of virtio-blk to PCI_CLASS_STORAGE_SCSI
authorMark McLoughlin <markmc@redhat.com>
Tue, 7 Jul 2009 11:09:10 +0000 (12:09 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 13:28:10 +0000 (08:28 -0500)
commit5c634ef30d75fd7024929b34d383eea1bae732d7
tree8d630026b5d07234c13698581e72b46b046762e4
parent6f6260c7d68fffe349fbe134b1ef2cebb5bb5a1e
Change default PCI class of virtio-blk to PCI_CLASS_STORAGE_SCSI

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

A new qdev type is introduced to allow devices using the old class
to be created for compatibility with qemu-0.10.x.

Reported-by: Dor Laor <dlaor@redhat.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c