From unknown Mon Jun 23 20:20:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well. Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Jun 2019 11:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36277 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36277@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15608566181846 (code B ref -1); Tue, 18 Jun 2019 11:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2019 11:16:58 +0000 Received: from localhost ([127.0.0.1]:43842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdC6k-0000Th-5r for submit@debbugs.gnu.org; Tue, 18 Jun 2019 07:16:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:53134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdC6i-0000TX-1L for submit@debbugs.gnu.org; Tue, 18 Jun 2019 07:16:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42692) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdC6g-00076i-SC for guix-patches@gnu.org; Tue, 18 Jun 2019 07:16:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdC6Q-0001oW-U1 for guix-patches@gnu.org; Tue, 18 Jun 2019 07:16:44 -0400 Received: from pelzflorian.de ([5.45.111.108]:39194 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdC6P-0001l0-TI for guix-patches@gnu.org; Tue, 18 Jun 2019 07:16:38 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id F1F643600FA for ; Tue, 18 Jun 2019 13:16:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1560856594; bh=BYNW50nYaX7s+OGODQ1vAJclgcfs1GhpS1YDs8E3obI=; h=Date:From:To:Subject; b=AV0lkQ/rRELrUMzKcPAej2NklGl/q0mT2/p6wmS8yXLttwF3/LqmFT11FwOse3pZD MqeT4tLzH0mPYiUEJ5PVX9l9nHKTyrgcgFBxs+2FIbRbZxaWXPKpKG6KIuftEGB7Fo Qla8GKswlxmCPF+tSnBE7bMywXRPHlRUAVYjLtCM= Date: Tue, 18 Jun 2019 13:16:33 +0200 From: Florian Pelz Message-ID: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.45.111.108 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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 From unknown Mon Jun 23 20:20:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well. Resent-From: Meiyo Peng Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jun 2019 03:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36277 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36277@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Cc: 36277@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15609145577526 (code B ref -1); Wed, 19 Jun 2019 03:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jun 2019 03:22:37 +0000 Received: from localhost ([127.0.0.1]:45835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdRBF-0001xK-7e for submit@debbugs.gnu.org; Tue, 18 Jun 2019 23:22:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:44800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdRBC-0001x9-Dv for submit@debbugs.gnu.org; Tue, 18 Jun 2019 23:22:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45351) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdRBB-000300-IN for guix-patches@gnu.org; Tue, 18 Jun 2019 23:22:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdRBA-0007GJ-NL for guix-patches@gnu.org; Tue, 18 Jun 2019 23:22:33 -0400 Received: from mx1.riseup.net ([198.252.153.129]:32950) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdRB8-0007Ey-Lc for guix-patches@gnu.org; Tue, 18 Jun 2019 23:22:32 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 0CCC91A228A; Tue, 18 Jun 2019 20:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1560914549; bh=ym0QNTFI6QAynFXMJ/jwsx/a1rJ4xnvWEdiMzWB7mpM=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Ks/weAbU33UEcbqtzWuHII0vjAPzqNM1wTiaoEH2vOlOEQQa0yYqKTBCT3hVYQ7Aj CiSwjTfhQG80nxlThKVB4Bv4yroOkHXVAB3Q1mu8GZcwpsOsCFT+meAlXDfYRCk8XC 76yhEP9TxOCyHLXXuVuDMq2r1iUX99d95GU3NtQQ= X-Riseup-User-ID: 5BBEB02500A89539AB185652AC19205430867DEA1EDE184BBED4F331ABF225EA Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id C6B36222376; Tue, 18 Jun 2019 20:22:27 -0700 (PDT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 61b3071a; Wed, 19 Jun 2019 03:22:23 +0000 (UTC) References: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> From: Meiyo Peng In-reply-to: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> Date: Wed, 19 Jun 2019 11:22:23 +0800 Message-ID: <87wohip8cw.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.252.153.129 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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. From unknown Mon Jun 23 20:20:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well. Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jun 2019 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36277 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Meiyo Peng Cc: 36277@debbugs.gnu.org Received: via spool by 36277-submit@debbugs.gnu.org id=B36277.156094090220809 (code B ref 36277); Wed, 19 Jun 2019 10:42:02 +0000 Received: (at 36277) by debbugs.gnu.org; 19 Jun 2019 10:41:42 +0000 Received: from localhost ([127.0.0.1]:46075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdY2A-0005PZ-9Q for submit@debbugs.gnu.org; Wed, 19 Jun 2019 06:41:42 -0400 Received: from pelzflorian.de ([5.45.111.108]:41234 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdY27-0005PP-6C for 36277@debbugs.gnu.org; Wed, 19 Jun 2019 06:41:40 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 7600D36007F; Wed, 19 Jun 2019 12:41:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1560940897; bh=OWZMHGO2aVU2RfdARSX4jfDjGmeUY2j+rps/SGcnkIs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=V08HBbtenUaiPEmkW6sZFO3CJVL4f4YKju7Y+WteM89I/hPMmXZ0VNcGns2QBasOh RV/N4+lfzc57RBk37mXjz1j3sgdJ4KtEJt4Wy0b3Q24eZU42QPRVira8nb4KuRhlHu EmnXNZp6VGsPKx1Nbyfo2FcdbRUaS2HbSAKfpZAM= Date: Wed, 19 Jun 2019 12:41:37 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20190619104137.r5jzmzqdjd6kdyn4@pelzflorian.localdomain> References: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> <87wohip8cw.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wbwwuaqnhww6h5hj" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87wohip8cw.fsf@riseup.net> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --wbwwuaqnhww6h5hj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Jun 19, 2019 at 11:22:23AM +0800, Meiyo Peng wrote: > 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. > > > Thank you Meiyo Peng! I cannot find an official deprecation, but -accel seems to be recommended in general. But I am unsure. I like -accel; it seems less KVM-specific, that is better. However, I cannot find -accel kvm in Debian Jessie’s manpage at https://manpages.debian.org/jessie/qemu-system-x86/qemu-system-x86_64.1.en.html and in a Debian Stretch VM it says: qemu-syems-x86_64: -accel: invalid option Maybe it is better to wait three more years until switching to -accel so instructions work on Debian (LTS)? If Guix wants to switch now though, see the attached patches. Regards, Florian --wbwwuaqnhww6h5hj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Recommend-accel-kvm-instead-of-enable-kvm-option-for.patch" >From 0ffc2d9d31f481cccb5d6a8a5e17a6d836d0e09c Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Wed, 19 Jun 2019 11:19:09 +0200 Subject: [PATCH 1/2] Recommend '-accel kvm' instead of '-enable-kvm' option for QEMU in manual. Suggested by Meiyo Peng . * doc/guix.texi (Running Guix in a Virtual Machine): Change it. --- doc/guix.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 65c3b8a7f1..97620eb20c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -25406,7 +25406,7 @@ vm-image} on x86_64 hardware: @example $ qemu-system-x86_64 \ -net user -net nic,model=virtio \ - -enable-kvm -m 512 \ + -accel kvm -m 512 \ -device virtio-blk,drive=myhd \ -drive if=none,file=/tmp/qemu-image,id=myhd @end example @@ -25429,7 +25429,7 @@ create a NIC, the boot will fail. Assuming your hardware platform is x86_64, you can get a list of available NIC models by running @command{qemu-system-x86_64 -net nic,model=help}. -@item -enable-kvm +@item -accel kvm If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster. -- 2.22.0 --wbwwuaqnhww6h5hj Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0002-doc-Recommend-accel-kvm-for-installing-in-a-VM-as-we.patch" >From c3c6bc15e3052a92acf9bdb3f5156fe939d14c33 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Wed, 19 Jun 2019 11:24:16 +0200 Subject: [PATCH 2/2] doc: Recommend '-accel kvm' for installing in a VM as well. * doc (Installing Guix in a VM): Add '-accel 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 97620eb20c..3fec743d23 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 -accel 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{-accel 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.22.0 --wbwwuaqnhww6h5hj-- From unknown Mon Jun 23 20:20:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well. Resent-From: Meiyo Peng Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jun 2019 11:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36277 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "pelzflorian \(Florian Pelz\)" Cc: 36277@debbugs.gnu.org Received: via spool by 36277-submit@debbugs.gnu.org id=B36277.156094256523362 (code B ref 36277); Wed, 19 Jun 2019 11:10:01 +0000 Received: (at 36277) by debbugs.gnu.org; 19 Jun 2019 11:09:25 +0000 Received: from localhost ([127.0.0.1]:46105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdYSy-00064j-Vf for submit@debbugs.gnu.org; Wed, 19 Jun 2019 07:09:25 -0400 Received: from mx1.riseup.net ([198.252.153.129]:46054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdYSw-00064a-Hz for 36277@debbugs.gnu.org; Wed, 19 Jun 2019 07:09:23 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id BEFC81A260D; Wed, 19 Jun 2019 04:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1560942561; bh=/FCL49lONNMCWoe/3hoIUbArnNWMQLDwPPzJvJ14SZs=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=Z5WFN2bM9zXw0KoMJnHQa5b0eVvF5PoME/aN4IAuM6jCIQ3vWishg1JYCcpO/iZkX UyRilBMaGyyAlAj3VY16XMsITWpmqco+MSVDN1FR9J9jO1O0bnj4BnBBUSWmpx6mwg 7oAFtK2wwgyMQfT9dpBFu+a0JO7a0RA1QR7gb+Kc= X-Riseup-User-ID: 4C53C929A220EC64C46F16763B00F23AA447B40844A0ABF576E6E903A30B3351 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 9E6EC222A2F; Wed, 19 Jun 2019 04:09:20 -0700 (PDT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e54c80bb; Wed, 19 Jun 2019 11:09:15 +0000 (UTC) References: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> <87wohip8cw.fsf@riseup.net> <20190619104137.r5jzmzqdjd6kdyn4@pelzflorian.localdomain> From: Meiyo Peng In-reply-to: <20190619104137.r5jzmzqdjd6kdyn4@pelzflorian.localdomain> Date: Wed, 19 Jun 2019 19:09:15 +0800 Message-ID: <87v9x1q1b8.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Florian, pelzflorian (Florian Pelz) writes: > However, I cannot find -accel kvm in Debian Jessie=E2=80=99s manpage at > > https://manpages.debian.org/jessie/qemu-system-x86/qemu-system-x86_64.1.e= n.html > > and in a Debian Stretch VM it says: qemu-syems-x86_64: -accel: invalid > option I always run Debian Sid ;-) > 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. -- Meiyo Peng https://www.pengmeiyu.com/ From unknown Mon Jun 23 20:20:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Florian Pelz Subject: bug#36277: closed (Re: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well.) Message-ID: References: <874l4e3coc.fsf@gnu.org> <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> X-Gnu-PR-Message: they-closed 36277 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 36277@debbugs.gnu.org Date: Mon, 24 Jun 2019 21:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1561411142-19004-1" This is a multi-part message in MIME format... ------------=_1561411142-19004-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 36277@debbugs.gnu.org. --=20 36277: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36277 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1561411142-19004-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 36277-done) by debbugs.gnu.org; 24 Jun 2019 21:18:29 +0000 Received: from localhost ([127.0.0.1]:58171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfWM6-0004vc-9g for submit@debbugs.gnu.org; Mon, 24 Jun 2019 17:18:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfWM4-0004vM-FR for 36277-done@debbugs.gnu.org; Mon, 24 Jun 2019 17:18:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfWLt-0000H1-Vn; Mon, 24 Jun 2019 17:18:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44034 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfWLt-0003kb-Ef; Mon, 24 Jun 2019 17:18:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Meiyo Peng Subject: Re: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well. References: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> <87wohip8cw.fsf@riseup.net> <20190619104137.r5jzmzqdjd6kdyn4@pelzflorian.localdomain> <87v9x1q1b8.fsf@riseup.net> Date: Mon, 24 Jun 2019 23:18:11 +0200 In-Reply-To: <87v9x1q1b8.fsf@riseup.net> (Meiyo Peng's message of "Wed, 19 Jun 2019 19:09:15 +0800") Message-ID: <874l4e3coc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36277-done Cc: "pelzflorian \(Florian Pelz\)" , 36277-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Meiyo Peng 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=E2=80=99s initial patch. Thanks! Ludo=E2=80=99. ------------=_1561411142-19004-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Jun 2019 11:16:58 +0000 Received: from localhost ([127.0.0.1]:43842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdC6k-0000Th-5r for submit@debbugs.gnu.org; Tue, 18 Jun 2019 07:16:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:53134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdC6i-0000TX-1L for submit@debbugs.gnu.org; Tue, 18 Jun 2019 07:16:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42692) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdC6g-00076i-SC for guix-patches@gnu.org; Tue, 18 Jun 2019 07:16:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdC6Q-0001oW-U1 for guix-patches@gnu.org; Tue, 18 Jun 2019 07:16:44 -0400 Received: from pelzflorian.de ([5.45.111.108]:39194 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdC6P-0001l0-TI for guix-patches@gnu.org; Tue, 18 Jun 2019 07:16:38 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id F1F643600FA for ; Tue, 18 Jun 2019 13:16:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1560856594; bh=BYNW50nYaX7s+OGODQ1vAJclgcfs1GhpS1YDs8E3obI=; h=Date:From:To:Subject; b=AV0lkQ/rRELrUMzKcPAej2NklGl/q0mT2/p6wmS8yXLttwF3/LqmFT11FwOse3pZD MqeT4tLzH0mPYiUEJ5PVX9l9nHKTyrgcgFBxs+2FIbRbZxaWXPKpKG6KIuftEGB7Fo Qla8GKswlxmCPF+tSnBE7bMywXRPHlRUAVYjLtCM= Date: Tue, 18 Jun 2019 13:16:33 +0200 From: Florian Pelz To: guix-patches@gnu.org Subject: [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well. Message-ID: <20190618111633.ixzvf6iatssemtrb@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.45.111.108 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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 ------------=_1561411142-19004-1--