diff mbox series

[bug#36277] doc: Recommend '-enable-kvm' for installing in a VM as well.

Message ID 20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain
State Accepted
Headers show
Series [bug#36277] doc: Recommend '-enable-kvm' for installing in a VM as well. | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

pelzflorian (Florian Pelz) June 18, 2019, 11:16 a.m. UTC
* doc (Installing Guix in a VM): Add '-enable-kvm' to example.
---
 doc/guix.texi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Meiyo Peng June 19, 2019, 3:22 a.m. UTC | #1
Hi Florian,

Florian Pelz writes:

>  @example
> -qemu-system-x86_64 -m 1024 -smp 1 \
> +qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \
...
> -The ordering of the drives matters.
> +The ordering of the drives matters.  @code{-enable-kvm} is optional, but
> +significantly improves performance, @pxref{Running Guix in a VM}.

"-enable-kvm" is deprecated.  Please use "-accel kvm" instead.  QEMU
will probably support "-enable-kvm" option forever but "-accel kvm" is
recommended.
diff mbox series

Patch

diff --git a/doc/guix.texi b/doc/guix.texi
index 033ad9ea8e..535709a9ab 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2430,13 +2430,14 @@  The resulting file will be much smaller than 50 GB (typically less than
 Boot the USB installation image in an VM:
 
 @example
-qemu-system-x86_64 -m 1024 -smp 1 \
+qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \
   -net user -net nic,model=virtio -boot menu=on \
   -drive file=guix-system-install-@value{VERSION}.@var{system}.iso \
   -drive file=guixsd.img
 @end example
 
-The ordering of the drives matters.
+The ordering of the drives matters.  @code{-enable-kvm} is optional, but
+significantly improves performance, @pxref{Running Guix in a VM}.
 
 In the VM console, quickly press the @kbd{F12} key to enter the boot
 menu.  Then press the @kbd{2} key and the @kbd{RET} key to validate your