diff options
author | Avi Kivity <avi@redhat.com> | 2009-02-12 11:43:17 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-02-12 11:43:17 +0200 |
commit | 4667e6ec0df770867095d8093562d93c94d96ca2 (patch) | |
tree | 93f40d37c343e6463ac66b0063cdbcbdb8dbcf12 /hw/virtio-console.c | |
parent | kvm: external module: remove x86-specific file from common code in make sync (diff) | |
download | qemu-kvm-4667e6ec0df770867095d8093562d93c94d96ca2.tar.gz qemu-kvm-4667e6ec0df770867095d8093562d93c94d96ca2.tar.bz2 qemu-kvm-4667e6ec0df770867095d8093562d93c94d96ca2.zip |
Change virtio-console to PCI_CLASS_OTHERS
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>
Diffstat (limited to 'hw/virtio-console.c')
-rw-r--r-- | hw/virtio-console.c | 2 |
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; |