qdev/compat: virtio-console-pci 0.10 compatibility.
commitd6beee993810b80d7a7f51d05d4f8e08e485b2b2
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Jul 2009 11:48:24 +0000 (15 13:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 22:28:53 +0000 (16 17:28 -0500)
treeb8ec4a98abb8f5a95e8d1ef6850d76a4822efa9a
parenteb54b6dcb8c6795c3667bcf1cb142639a36fdf85
qdev/compat: virtio-console-pci 0.10 compatibility.

Add class property to virtio-console-pci allowing to specify the PCI class.
Add compat property to pc-0.10 to set the old PCI class.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
hw/virtio-pci.c