[SRU][Bionic][PATCH 1/1] UBUNTU: [Config] Enable CONFIG_DRM_BOCHS as module for all archs

Matthew Ruffell matthew.ruffell at canonical.com
Wed Apr 15 02:33:50 UTC 2020

BugLink: https://bugs.launchpad.net/bugs/1872863

A recent grub2 SRU, LP #1864533, has forced the kernel to boot via the efi
stub, instead of the grub linux loader. This causes problems for QEMU/KVM
virtual machines which use the VGA=std video device, as the efifb driver
yields an unreadable garbled screen. The correct framebuffer driver in
this situation is bochs-drm, and modprobing it fixes the issues.

CONFIG_DRM_BOCHS was disabled in LP #1378648 due to bochs-drm causing problems
in a PowerKVM machine. This problem appears to be fixed now, and bochs-drm
has been re-enabled for Disco and up, in LP #1795857 and has been proven safe.

Re-enable bochs-drm again as a module for all architectures to ensure that
QEMU/KVM virtual machines with VGA=std video settings have a functional

Signed-off-by: Matthew Ruffell <matthew.ruffell at canonical.com>
 debian.master/config/annotations          | 3 +--
 debian.master/config/config.common.ubuntu | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index d4ba76f3a350..4443dae5b9b5 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -1743,7 +1743,7 @@ CONFIG_DRM_SHMOBILE                             policy<{'armhf': 'm'}>
 CONFIG_DRM_OMAP                                 policy<{'armhf': 'n'}>
 CONFIG_DRM_TILCDC                               policy<{'armhf': 'm'}>
 CONFIG_DRM_QXL                                  policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'i386': 'm', 'ppc64el': 'm'}>
-CONFIG_DRM_BOCHS                                policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'i386': 'n', 'ppc64el': 'n'}>
+CONFIG_DRM_BOCHS                                policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'i386': 'm', 'ppc64el': 'm'}>
 CONFIG_DRM_VIRTIO_GPU                           policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'i386': 'm', 'ppc64el': 'm'}>
 CONFIG_DRM_FSL_DCU                              policy<{'armhf': 'm'}>
 CONFIG_DRM_TEGRA                                policy<{'armhf-generic': 'm'}>
@@ -1769,7 +1769,6 @@ CONFIG_DRM_PL111                                policy<{'arm64': 'm', 'armhf': '
 CONFIG_DRM_TVE200                               policy<{'armhf': 'm'}>
 CONFIG_DRM_MGAG200                              note<LP#1693337>
-CONFIG_DRM_BOCHS                                note<LP#1378648>
 CONFIG_DRM_STI                                  note<LP#1398458>
 CONFIG_DRM_HISI_HIBMC                           note<LP#1762940>
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 865a77cfb9f6..3acc825aac9f 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -2249,7 +2249,7 @@ CONFIG_DRM_ARM=y
-# CONFIG_DRM_BOCHS is not set

More information about the kernel-team mailing list