[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: linux-initrd: Add virtio drivers by default.
From: |
Ludovic Courtès |
Subject: |
03/03: linux-initrd: Add virtio drivers by default. |
Date: |
Sun, 05 Apr 2015 21:15:27 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit e26d5076df964d3510273202dcb5b1fc36452d48
Author: Ludovic Courtès <address@hidden>
Date: Sun Apr 5 23:13:58 2015 +0200
linux-initrd: Add virtio drivers by default.
* gnu/system/linux-initrd.scm (base-initrd): Change #:virtio? default
to #t. This will facilitate the use of GuixSD in VM guests.
---
gnu/system/linux-initrd.scm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 0e5334c..83685ad 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -146,7 +146,7 @@ initrd code."
(linux linux-libre)
(mapped-devices '())
qemu-networking?
- virtio?
+ (virtio? #t)
volatile-root?
(extra-modules '()))
"Return a monadic derivation that builds a generic initrd, with kernel
@@ -157,7 +157,8 @@ mappings to realize before FILE-SYSTEMS are mounted.
When QEMU-NETWORKING? is true, set up networking with the standard QEMU
parameters. When VIRTIO? is true, load additional modules so the initrd can
-be used as a QEMU guest with para-virtualized I/O drivers.
+be used as a QEMU guest with the root file system on a para-virtualized block
+device.
When VOLATILE-ROOT? is true, the root file system is writable but any changes
to it are lost.