From 42226063f6885f2114bf6d81fede1896d484c3d1 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Jul 2018 15:26:21 +0200 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index abecc8c470..5579886264 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: + ;; and + ;; . + (not (string-suffix? "-i386" qemu))) '("-enable-kvm") '()) -- cgit v1.2.3