From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: 22633@debbugs.gnu.org
Subject: bug#22633: Provide a kvm-less qemu / guix system vm
Date: Sun, 21 Feb 2016 13:06:51 +0100 [thread overview]
Message-ID: <87twl2xo6c.fsf@gnu.org> (raw)
In-Reply-To: <87ziv595xb.fsf@dustycloud.org> (Christopher Allan Webber's message of "Fri, 12 Feb 2016 09:47:44 -0800")
Christopher Allan Webber <cwebber@dustycloud.org> skribis:
> I tried this:
>
> (operating-system
> (kernel linux-libre-4.1)
> (kernel-arguments '("modprobe.blacklist=kvm-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=guix --system=/gnu/store/flq2702dmj6ppqc4iix6xgp0q364yl3l-system --load=/gnu/store/flq2702dmj6ppqc4iix6xgp0q364yl3l-system/boot modprobe.blacklist=kvm-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...
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”?
TIA,
Ludo’.
next prev parent reply other threads:[~2016-02-21 12:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-11 17:26 bug#22633: Provide a kvm-less qemu / guix system vm Christopher Allan Webber
2016-02-11 22:50 ` Jookia
2016-02-12 0:49 ` Leo Famulari
2016-02-12 18:04 ` Christopher Allan Webber
2016-02-13 0:47 ` Leo Famulari
2016-02-12 9:02 ` Ludovic Courtès
2016-02-12 17:47 ` Christopher Allan Webber
2016-02-13 19:10 ` Alex Kost
2016-02-21 12:09 ` Ludovic Courtès
2016-02-23 8:08 ` Alex Kost
2016-02-21 12:06 ` Ludovic Courtès [this message]
2016-02-22 18:56 ` Christopher Allan Webber
2016-02-22 19:35 ` Christopher Allan Webber
2016-02-22 19:43 ` Jookia
2016-02-22 21:27 ` Christopher Allan Webber
2016-02-22 21:09 ` Ludovic Courtès
2016-02-22 21:30 ` Christopher Allan Webber
2016-02-23 16:13 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twl2xo6c.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=22633@debbugs.gnu.org \
--cc=cwebber@dustycloud.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.