vm: Enable QEMU support in the freestanding VM image.

* gnu/system/vm.scm (system-qemu-image): Add 'initrd' field.
This commit is contained in:
Ludovic Courtès 2014-07-04 19:01:22 +02:00
parent 3a100e7934
commit e84d8b30d9

View File

@ -329,6 +329,11 @@ of the GNU system as described by OS."
(operating-system-file-systems os)))
(let ((os (operating-system (inherit os)
;; Use an initrd with the whole QEMU shebang.
(initrd (cut base-initrd <>
#:virtio? #t
#:qemu-networking? #t))
;; Force our own root file system.
(file-systems (cons (file-system
(mount-point "/")