diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-10-29 02:00:00 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-10-29 02:00:00 +0200 |
| commit | 2059b9fbe0712e070b6e438b91484c170bf599ff (patch) | |
| tree | 47832e17c9e09e6569e5e55b21956b5b0719dfaf /gnu/system/vm.scm | |
| parent | c9361460dece1dbc3d2645ad3e5c79e85a2bf183 (diff) | |
system: vm: Include the cirrus driver in the initrd.
This is Ludo's suggestion at <https://issues.guix.gnu.org/36069#26>,
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 <ludo@gnu.org>
Change-Id: I1a86286586eee0b8c39706544778c7911a86da33
Diffstat (limited to 'gnu/system/vm.scm')
| -rw-r--r-- | gnu/system/vm.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 70f7b001165..8c27ff787d3 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 | |||
| 168 | file-systems | 168 | file-systems |
| 169 | #:volatile-root? volatile? | 169 | #:volatile-root? volatile? |
| 170 | rest))) | 170 | rest))) |
| 171 | ;; The (QEMU-only) "cirrus" graphics driver is still expected by some | ||
| 172 | ;; VPS with old QEMU versions. See <https://bugs.gnu.org/36069>. | ||
| 173 | (initrd-modules (let ((modules (operating-system-initrd-modules os))) | ||
| 174 | (if (member "cirrus" modules) | ||
| 175 | modules | ||
| 176 | (cons "cirrus" modules)))) | ||
| 171 | 177 | ||
| 172 | ;; Disable swap. | 178 | ;; Disable swap. |
| 173 | (swap-devices '()) | 179 | (swap-devices '()) |
