From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: bug#22633: Provide a kvm-less qemu / guix system vm Date: Mon, 22 Feb 2016 10:56:02 -0800 Message-ID: <87si0k8th9.fsf@dustycloud.org> References: <87oabnqhv3.fsf@dustycloud.org> <20160211225009.GA4943@novena-choice-citizen.lan> <87oabm2tfa.fsf@gnu.org> <87ziv595xb.fsf@dustycloud.org> <87twl2xo6c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvfN-0005P3-NH for bug-guix@gnu.org; Mon, 22 Feb 2016 13:57:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXvfK-0001fb-H2 for bug-guix@gnu.org; Mon, 22 Feb 2016 13:57:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvfK-0001fX-D7 for bug-guix@gnu.org; Mon, 22 Feb 2016 13:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXvfK-0001st-7e for bug-guix@gnu.org; Mon, 22 Feb 2016 13:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87twl2xo6c.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 22633@debbugs.gnu.org Ludovic Courtès writes: > Libkmod honors ‘modprobe.blacklist’ (in ‘kcmdline_parse_result’ in > libkmod-config.c) and eudev passes KMOD_PROBE_APPLY_BLACKLIST > unconditionally in udev-builtin-kmod.c (meaning it honors it too.) > > However, there’s a hyphen-vs-underscore issue, I think. Namely, the > file is called ‘kvm-intel.ko’, but the normalized module name is > ‘kvm_intel’, and this is what libkmod expects (commit 5c7dd5a changes > our code to normalize module names similarly.) > > Could you try with “modprobe.blacklist=kvm_intel”? I tried it, and it works! This does mean that /dev/kvm doesn't exist, so I should be able to write a patch to Guix that disables kvm for qemu when /dev/kvm is absent. Great! :)