GNU bug report logs -
#36277
[PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36277 in the body.
You can then email your comments to 36277 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#36277
; Package
guix-patches
.
(Tue, 18 Jun 2019 11:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Florian Pelz <pelzflorian <at> pelzflorian.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 18 Jun 2019 11:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36277
; Package
guix-patches
.
(Wed, 19 Jun 2019 03:23:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36277
; Package
guix-patches
.
(Wed, 19 Jun 2019 03:23:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36277
; Package
guix-patches
.
(Wed, 19 Jun 2019 10:42:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 36277 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[0001-Recommend-accel-kvm-instead-of-enable-kvm-option-for.patch (text/plain, attachment)]
[0002-doc-Recommend-accel-kvm-for-installing-in-a-VM-as-we.patch (text/plain, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36277
; Package
guix-patches
.
(Wed, 19 Jun 2019 11:10:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 36277 <at> debbugs.gnu.org (full text, mbox):
Hi Florian,
pelzflorian (Florian Pelz) writes:
> 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
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/
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 24 Jun 2019 21:19:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Florian Pelz <pelzflorian <at> pelzflorian.de>
:
bug acknowledged by developer.
(Mon, 24 Jun 2019 21:19:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 36277-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Meiyo Peng <meiyo <at> riseup.net> 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’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 23 Jul 2019 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.