aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-02-12 11:43:17 +0200
committerAvi Kivity <avi@redhat.com>2009-02-12 11:43:17 +0200
commit4667e6ec0df770867095d8093562d93c94d96ca2 (patch)
tree93f40d37c343e6463ac66b0063cdbcbdb8dbcf12
parent6c3294df8e1ed1436e46681688b5fb1c89d91ce5 (diff)
Change virtio-console to PCI_CLASS_OTHERSkvm-84rc3
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 <avi@redhat.com>
-rw-r--r--hw/virtio-console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-console.c b/hw/virtio-console.c
index 92455c850..b943097e0 100644
--- a/hw/virtio-console.c
+++ b/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;