summaryrefslogtreecommitdiff
path: root/gnu/system/linux-initrd.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-05 23:13:58 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-05 23:15:20 +0200
commite26d5076df964d3510273202dcb5b1fc36452d48 (patch)
tree035c39649f5340841a41f5c9742a81cdbcfaf955 /gnu/system/linux-initrd.scm
parentbc45ceb5ffb445ca26a6cd5ac34f39d0dedd8504 (diff)
downloadguix-patches-e26d5076df964d3510273202dcb5b1fc36452d48.tar
guix-patches-e26d5076df964d3510273202dcb5b1fc36452d48.tar.gz
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.
Diffstat (limited to 'gnu/system/linux-initrd.scm')
-rw-r--r--gnu/system/linux-initrd.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 0e5334cf79..83685adcbc 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.