Blame SOURCES/0001-data-disable-wayland-for-legacy-QXL-VMs.patch

890c66
From 84eac5437175efc3804e8a6133c06484d6016b26 Mon Sep 17 00:00:00 2001
890c66
From: Ray Strode <rstrode@redhat.com>
890c66
Date: Fri, 4 Jan 2019 16:40:07 -0500
890c66
Subject: [PATCH] data: disable wayland for legacy QXL VMs
890c66
890c66
There are a number of issues right now with the QXL driver that
890c66
prevent it from working well with wayland.
890c66
890c66
These days QXL is deprecated in favor of virtio anyway.
890c66
890c66
This commit forces Xorg fallback for QXL VMs.
890c66
---
890c66
 data/61-gdm.rules.in | 3 +++
890c66
 1 file changed, 3 insertions(+)
890c66
890c66
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
890c66
index 26cf9cf51..ec19aa447 100644
890c66
--- a/data/61-gdm.rules.in
890c66
+++ b/data/61-gdm.rules.in
890c66
@@ -1,5 +1,8 @@
890c66
 # disable Wayland on Cirrus chipsets
890c66
 ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="@libexecdir@/gdm-disable-wayland"
890c66
 
890c66
+# disable Wayland on legacy QXL virtual machines
890c66
+ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="@libexecdir@/gdm-disable-wayland"
890c66
+
890c66
 # disable Wayland when using the proprietary nvidia driver
890c66
 DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
890c66
-- 
890c66
2.17.1
890c66