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

Previous Next

Package: guix-patches;

Reported by: Florian Pelz <pelzflorian <at> pelzflorian.de>

Date: Tue, 18 Jun 2019 11:17:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Meiyo Peng <meiyo <at> riseup.net>
Cc: 36277 <at> debbugs.gnu.org
Subject: [bug#36277] [PATCH] doc: Recommend '-enable-kvm' for installing in a VM as well.
Date: Wed, 19 Jun 2019 12:41:37 +0200
[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)]

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.