From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22633: Provide a kvm-less qemu / guix system vm Date: Sat, 13 Feb 2016 22:10:19 +0300 Message-ID: <87y4aozask.fsf@gmail.com> References: <87oabnqhv3.fsf@dustycloud.org> <20160211225009.GA4943@novena-choice-citizen.lan> <87oabm2tfa.fsf@gnu.org> <87ziv595xb.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUfaz-0007qb-9I for bug-guix@gnu.org; Sat, 13 Feb 2016 14:11:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUfaw-0000OX-37 for bug-guix@gnu.org; Sat, 13 Feb 2016 14:11:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUfav-0000OT-VP for bug-guix@gnu.org; Sat, 13 Feb 2016 14:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aUfav-00023e-R2 for bug-guix@gnu.org; Sat, 13 Feb 2016 14:11:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ziv595xb.fsf@dustycloud.org> (Christopher Allan Webber's message of "Fri, 12 Feb 2016 09:47:44 -0800") 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: Christopher Allan Webber Cc: 22633@debbugs.gnu.org Christopher Allan Webber (2016-02-12 20:47 +0300) wrote: > Ludovic Court=C3=A8s writes: > >> Jookia <166291@gmail.com> skribis: >> >>> We should probably also blacklist kvm on Libreboot machines too somehow, >> >> A simple way to achieve this is with: >> >> (operating-system >> ;; =E2=80=A6 >> (kernel-arguments '("modprobe.blacklist=3Dkvm-intel,kvm"))) > > I tried this: > > (operating-system > (kernel linux-libre-4.1) > (kernel-arguments '("modprobe.blacklist=3Dkvm-intel,kvm")) > ...) > > The generated Grub configuration looks right: > > menuentry "GNU with Linux-Libre 4.1.17 (alpha)" { > search --label --set guix > linux /gnu/store/k3l4g22vypwniy0k3f8xha9l8p1s716d-linux-libre-4.1.17/= bzImage --root=3Dguix --system=3D/gnu/store/flq2702dmj6ppqc4iix6xgp0q364yl3= l-system --load=3D/gnu/store/flq2702dmj6ppqc4iix6xgp0q364yl3l-system/boot m= odprobe.blacklist=3Dkvm-intel,kvm > initrd /gnu/store/flq2702dmj6ppqc4iix6xgp0q364yl3l-system/initrd > } > > Unfortunately, after rebooting into it: > > cwebber@oolong:~$ lsmod | grep kvm > kvm_intel 155648 0 > kvm 491520 1 kvm_intel > cwebber@oolong:~$ ls /dev/kvm > /dev/kvm > > Not sure why it didn't seem to do anything... I had the same issue. Some time ago I tried: (kernel-arguments '("modprobe.blacklist=3Dpcspkr")) but "pcspkr" was also listed in lsmod. --=20 Alex