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.
This commit is contained in:
parent
bc45ceb5ff
commit
e26d5076df
|
@ -146,7 +146,7 @@ initrd code."
|
||||||
(linux linux-libre)
|
(linux linux-libre)
|
||||||
(mapped-devices '())
|
(mapped-devices '())
|
||||||
qemu-networking?
|
qemu-networking?
|
||||||
virtio?
|
(virtio? #t)
|
||||||
volatile-root?
|
volatile-root?
|
||||||
(extra-modules '()))
|
(extra-modules '()))
|
||||||
"Return a monadic derivation that builds a generic initrd, with kernel
|
"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
|
When QEMU-NETWORKING? is true, set up networking with the standard QEMU
|
||||||
parameters. When VIRTIO? is true, load additional modules so the initrd can
|
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
|
When VOLATILE-ROOT? is true, the root file system is writable but any changes
|
||||||
to it are lost.
|
to it are lost.
|
||||||
|
|
Loading…
Reference in New Issue