From: Avi Kivity <a...@redhat.com>

As a PCI_CLASS_DISPLAY_OTHER, it reduces primary display somehow on Windows XP
(possibly Windows disables acceleration since it fails to find a driver).

Signed-off-by: Avi Kivity <a...@redhat.com>

diff --git a/qemu/hw/virtio-console.c b/qemu/hw/virtio-console.c
index 92455c8..b943097 100644
--- a/qemu/hw/virtio-console.c
+++ b/qemu/hw/virtio-console.c
@@ -130,7 +130,7 @@ void *virtio_console_init(PCIBus *bus, CharDriverState *chr)
                                          PCI_DEVICE_ID_VIRTIO_CONSOLE,
                                          PCI_VENDOR_ID_REDHAT_QUMRANET,
                                          VIRTIO_ID_CONSOLE,
-                                         PCI_CLASS_DISPLAY_OTHER, 0x00,
+                                         PCI_CLASS_OTHERS, 0x00,
                                          0, sizeof(VirtIOConsole));
     if (s == NULL)
         return NULL;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to