summaryrefslogtreecommitdiff
path: root/hw/virtio-pci.c
diff options
context:
space:
mode:
authorKitae Kim <kt920.kim@samsung.com>2012-03-16 23:20:06 +0900
committerKitae Kim <kt920.kim@samsung.com>2012-03-16 23:20:06 +0900
commit6f62a99984009a63a3f8bb820e1d4c647b174c82 (patch)
treee0103aa769ae97e528a803a6e3bc9eadfff7e2dc /hw/virtio-pci.c
parent1a95c77d6f79e39dad3b01dedf1dc9f2583b3552 (diff)
downloadqemu-6f62a99984009a63a3f8bb820e1d4c647b174c82.tar.gz
qemu-6f62a99984009a63a3f8bb820e1d4c647b174c82.tar.bz2
qemu-6f62a99984009a63a3f8bb820e1d4c647b174c82.zip
[Title] Disable OpenGL module for building qemu on Windows.
[Type] [Module] emulator / opengl [Priority] Major [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase]
Diffstat (limited to 'hw/virtio-pci.c')
-rw-r--r--hw/virtio-pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index 936da46476..8fb8b9f1d2 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -779,6 +779,7 @@ static int virtio_balloon_exit_pci(PCIDevice *pci_dev)
return virtio_exit_pci(pci_dev);
}
+#ifndef _WIN32
extern VirtIODevice *virtio_gl_init(DeviceState *dev);
static int virtio_gl_init_pci(PCIDevice *pci_dev)
{
@@ -792,6 +793,7 @@ static int virtio_gl_init_pci(PCIDevice *pci_dev)
virtio_init_pci(proxy, vdev);
return 0;
}
+#endif
static PCIDeviceInfo virtio_info[] = {
{
@@ -878,6 +880,7 @@ static PCIDeviceInfo virtio_info[] = {
},
.qdev.reset = virtio_pci_reset,
},{
+#ifndef _WIN32
.qdev.name = "virtio-gl-pci",
.qdev.alias = "virtio-gl",
.qdev.size = sizeof(VirtIOPCIProxy),
@@ -892,6 +895,7 @@ static PCIDeviceInfo virtio_info[] = {
},
.qdev.reset = virtio_pci_reset,
},{
+#endif
/* end of list */
}
};