summaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-25 22:54:24 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-26 00:06:55 +0100
commit9b104bfeefd08554015dc4e5369fe09366113387 (patch)
tree1e361d6b4d5cd2310f4e7f25beedd670e235c7af /doc/guix.texi
parent008883561f4900f85491219b3f7296b6247bd96c (diff)
downloadpatches-9b104bfeefd08554015dc4e5369fe09366113387.tar
patches-9b104bfeefd08554015dc4e5369fe09366113387.tar.gz
doc: Make /dev/kvm note more visible.
Suggested by Giovanni Biscuolo <g@xelera.eu>. * doc/guix.texi (Invoking guix system): Move note about /dev/kvm access to the beginning of the 'vm' action description.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a182e1edee..9e0eec4383 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -23008,6 +23008,16 @@ passed.
@anchor{guix system vm}
Build a virtual machine that contains the operating system declared in
@var{file}, and return a script to run that virtual machine (VM).
+
+@quotation Note
+The @code{vm} action and others below
+can use KVM support in the Linux-libre kernel. Specifically, if the
+machine has hardware virtualization support, the corresponding
+KVM kernel module should be loaded, and the @file{/dev/kvm} device node
+must exist and be readable and writable by the user and by the
+build users of the daemon (@pxref{Build Environment Setup}).
+@end quotation
+
Arguments given to the script are passed to QEMU as in the example
below, which enables networking and requests 1@tie{}GiB of RAM for the
emulated machine:
@@ -23204,15 +23214,6 @@ a list of available debugging commands.
@end table
@end table
-@quotation Note
-All the actions above, except @code{build} and @code{init},
-can use KVM support in the Linux-libre kernel. Specifically, if the
-machine has hardware virtualization support, the corresponding
-KVM kernel module should be loaded, and the @file{/dev/kvm} device node
-must exist and be readable and writable by the user and by the
-build users of the daemon (@pxref{Build Environment Setup}).
-@end quotation
-
Once you have built, configured, re-configured, and re-re-configured
your GuixSD installation, you may find it useful to list the operating
system generations available on disk---and that you can choose from the