----- Mensaje original ----- > --- > 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 I guess an assert() would be even more explicit. This is really a programming error right? > 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 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel