Subject: bug#36277: closed (Re: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 24 Jun 2019 21:19:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
36277: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36277
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well.
From: Ludovic Courtès <[email-masked]>
To: Meiyo Peng <[email-masked]>
Cc: "pelzflorian \(Florian Pelz\)" <[email-masked]>, [email-masked]
Date: Mon, 24 Jun 2019 23:18:11 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Meiyo Peng <[email-masked]> skribis:

>> Maybe it is better to wait three more years until switching to -accel
>> so instructions work on Debian (LTS)?
>
> Alright.  Let's keep "-enable-kvm" and wait three years.

Heheh.  :-)

Based on this I installed Florian’s initial patch.

Thanks!

Ludo’.

Subject: [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well.
From: Florian Pelz <[email-masked]>
To: [email-masked]
Date: Tue, 18 Jun 2019 13:16:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* doc (Installing Guix in a VM): Add '-enable-kvm' to example.
---
 doc/guix.texi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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
-- 
2.21.0