From 2059b9fbe0712e070b6e438b91484c170bf599ff Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 Oct 2023 02:00:00 +0200 Subject: [PATCH] system: vm: Include the cirrus driver in the initrd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is Ludo's suggestion at , with an added guard against duplicates and a tweaked comment. * gnu/system/vm.scm (virtualized-operating-system): Add "cirrus" to the list of INITRD-MODULES. Co-authored-by: Ludovic Courtès Change-Id: I1a86286586eee0b8c39706544778c7911a86da33 --- gnu/system/vm.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 70f7b00116..8c27ff787d 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -168,6 +168,12 @@ environment with the store shared with the host. MAPPINGS is a list of file-systems #:volatile-root? volatile? rest))) + ;; The (QEMU-only) "cirrus" graphics driver is still expected by some + ;; VPS with old QEMU versions. See . + (initrd-modules (let ((modules (operating-system-initrd-modules os))) + (if (member "cirrus" modules) + modules + (cons "cirrus" modules)))) ;; Disable swap. (swap-devices '())