guix-commits
[Top][All Lists]
Advanced

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

02/02: vm: Re-enable KVM on i386.


From: guix-commits
Subject: 02/02: vm: Re-enable KVM on i386.
Date: Tue, 18 Dec 2018 18:14:23 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit a934e9fc1c798258d344b49631feb23e195e48fa
Author: Ludovic Courtès <address@hidden>
Date:   Wed Dec 19 00:12:14 2018 +0100

    vm: Re-enable KVM on i386.
    
    The workaround is apparently no longer needed with Linux-libre 4.19.2
    in the host.
    
    * gnu/build/vm.scm (load-in-linux-vm): Remove special case for
    "qemu-system-i386", thereby re-enabling KVM.
---
 gnu/build/vm.scm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index 83ad489..0aef73d 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -105,13 +105,7 @@ 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?)
-
-                 ;; 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)))
+                 (not target-arm32?))
             '("-enable-kvm")
             '())
 



reply via email to

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