summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-27 17:10:57 +0300
committerAlon Levy <alevy@redhat.com>2011-05-24 16:33:11 +0300
commit91e7e2d333d25c6d9d5bb552c0cf85313809bb19 (patch)
tree30114165b5c423c15b867603c992e8bd2885c4a8
parent2bb9d13a7779c2122b07a05fa7f98d5eced8e099 (diff)
xspice: don't load ramdac and vgahw sub modules
-rw-r--r--src/qxl_driver.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index e77d3bb..262f8af 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1341,9 +1341,12 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
xf86PrintModes(pScrn);
xf86SetDpi(pScrn, 0, 0);
- if (!xf86LoadSubModule(pScrn, "fb") ||
- !xf86LoadSubModule(pScrn, "ramdac") ||
- !xf86LoadSubModule(pScrn, "vgahw"))
+ if (!xf86LoadSubModule(pScrn, "fb")
+#ifndef XSPICE
+ || !xf86LoadSubModule(pScrn, "ramdac")
+ || !xf86LoadSubModule(pScrn, "vgahw")
+#endif
+ )
{
goto out;
}