[Spice-devel] [PATCH xf86-video-qxl 1/4] Xspice: don't pull in kms functions

Alon Levy alevy at redhat.com
Mon Jul 15 04:58:38 PDT 2013


---
 src/qxl_driver.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index ac5408e..b42deb3 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1214,10 +1214,15 @@ qxl_init_scrn (ScrnInfoPtr pScrn, Bool kms)
     pScrn->name             = driver_name;
 
     if (kms) {
+#ifdef XSPICE
+	printf ("Xspice bug: kms enabled. Exiting.\n");
+	exit(1);
+#else
 	pScrn->PreInit          = qxl_pre_init_kms;
 	pScrn->ScreenInit       = qxl_screen_init_kms;
 	pScrn->EnterVT          = qxl_enter_vt_kms;
 	pScrn->LeaveVT          = qxl_leave_vt_kms;
+#endif
     } else {
 	pScrn->PreInit          = qxl_pre_init;
 	pScrn->ScreenInit       = qxl_screen_init;
-- 
1.8.3.1



More information about the Spice-devel mailing list