guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: vm: Disable KVM on i386.


From: Ludovic Courtès
Subject: 03/03: vm: Disable KVM on i386.
Date: Wed, 4 Jul 2018 10:11:38 -0400 (EDT)

civodul pushed a commit to branch version-0.15.0
in repository guix.

commit 42226063f6885f2114bf6d81fede1896d484c3d1
Author: Ludovic Courtès <address@hidden>
Date:   Wed Jul 4 15:26:21 2018 +0200

    vm: Disable KVM on i386.
    
    * gnu/build/vm.scm (load-in-linux-vm): Disable KVM on i386.
---
 gnu/build/vm.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index abecc8c..5579886 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -105,7 +105,13 @@ the #:references-graphs parameter of 'derivation'."
       ;; hardware virtualization to still use these commands.  KVM support is
       ;; still buggy on some ARM32 boards. Do not use it even if available.
       ,@(if (and (file-exists? "/dev/kvm")
-                 (not target-arm32?))
+                 (not target-arm32?)
+
+                 ;; XXX: 32-bit 'qemu-system-i386 -enable-kvm' segfaults on
+                 ;; x86_64 hosts running Linux-libre 4.17:
+                 ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31380#18> 
and
+                 ;; 
<https://lists.gnu.org/archive/html/qemu-devel/2018-07/msg01166.html>.
+                 (not (string-suffix? "-i386" qemu)))
             '("-enable-kvm")
             '())
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]