bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-23 Thread Ludovic Courtès
Christopher Allan Webber skribis: > Mentioned, committed, pushed! Thanks! Ludo'.

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-23 Thread Alex Kost
Ludovic Courtès (2016-02-21 15:09 +0300) wrote: > Alex Kost skribis: > >> I had the same issue. Some time ago I tried: >> >> (kernel-arguments '("modprobe.blacklist=pcspkr")) >> >> but "pcspkr" was also listed in lsmod. > > I can’t reproduce it. Do you have a system config that exhibits this

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-22 Thread Christopher Allan Webber
Ludovic Courtès writes: > Christopher Allan Webber skribis: > >> Christopher Allan Webber writes: >> >>> 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 u

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-22 Thread Christopher Allan Webber
Jookia writes: > On Mon, Feb 22, 2016 at 11:35:30AM -0800, Christopher Allan Webber wrote: >>#~(string-append >> - " -enable-kvm -no-reboot -net nic,model=virtio \ >> + ;; Only enable kvm if we see /dev/kvm exists. >> + ;; This allows uers without hardware virtualization to still u

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-22 Thread Ludovic Courtès
Christopher Allan Webber skribis: > Christopher Allan Webber writes: > >> 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 hono

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-22 Thread Jookia
On Mon, Feb 22, 2016 at 11:35:30AM -0800, Christopher Allan Webber wrote: >#~(string-append > - " -enable-kvm -no-reboot -net nic,model=virtio \ > + ;; Only enable kvm if we see /dev/kvm exists. > + ;; This allows uers without hardware virtualization to still use these > + ;; co

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-22 Thread Christopher Allan Webber
Christopher Allan Webber writes: > 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-

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-22 Thread Christopher Allan Webber
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

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-21 Thread Ludovic Courtès
Alex Kost skribis: > I had the same issue. Some time ago I tried: > > (kernel-arguments '("modprobe.blacklist=pcspkr")) > > but "pcspkr" was also listed in lsmod. I can’t reproduce it. Do you have a system config that exhibits this in ‘guix system vm’? Note that the ‘modprobe pcspkr’ will l

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-21 Thread Ludovic Courtès
Christopher Allan Webber 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

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-13 Thread Alex Kost
Christopher Allan Webber (2016-02-12 20:47 +0300) wrote: > Ludovic Courtès writes: > >> Jookia <166...@gmail.com> skribis: >> >>> We should probably also blacklist kvm on Libreboot machines too somehow, >> >> A simple way to achieve this is with: >> >> (operating-system >> ;; … >> (kerne

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-12 Thread Leo Famulari
On Fri, Feb 12, 2016 at 10:04:47AM -0800, Christopher Allan Webber wrote: > Leo Famulari writes: > > > On Fri, Feb 12, 2016 at 09:50:09AM +1100, Jookia wrote: > >> On Thu, Feb 11, 2016 at 09:26:12AM -0800, Christopher Allan Webber wrote: > >> > So on my Libreboot-enabled machine, KVM does not work

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-12 Thread Christopher Allan Webber
Leo Famulari writes: > On Fri, Feb 12, 2016 at 09:50:09AM +1100, Jookia wrote: >> On Thu, Feb 11, 2016 at 09:26:12AM -0800, Christopher Allan Webber wrote: >> > So on my Libreboot-enabled machine, KVM does not work. In fact, even >> > starting qemu with KVM enabled on it appears to crash my whole

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-12 Thread Christopher Allan Webber
Ludovic Courtès writes: > Jookia <166...@gmail.com> skribis: > >> We should probably also blacklist kvm on Libreboot machines too somehow, > > A simple way to achieve this is with: > > (operating-system > ;; … > (kernel-arguments '("modprobe.blacklist=kvm-intel,kvm"))) I tried this:

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-12 Thread Ludovic Courtès
Jookia <166...@gmail.com> skribis: > We should probably also blacklist kvm on Libreboot machines too somehow, A simple way to achieve this is with: (operating-system ;; … (kernel-arguments '("modprobe.blacklist=kvm-intel,kvm"))) But I guess ‘guix system vm’ will now fail. We could ch

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-11 Thread Leo Famulari
On Fri, Feb 12, 2016 at 09:50:09AM +1100, Jookia wrote: > On Thu, Feb 11, 2016 at 09:26:12AM -0800, Christopher Allan Webber wrote: > > So on my Libreboot-enabled machine, KVM does not work. In fact, even > > starting qemu with KVM enabled on it appears to crash my whole system. > > Not only does

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-11 Thread Jookia
On Thu, Feb 11, 2016 at 09:26:12AM -0800, Christopher Allan Webber wrote: > So on my Libreboot-enabled machine, KVM does not work. In fact, even > starting qemu with KVM enabled on it appears to crash my whole system. > Not only does "guix system vm" not work, even "guix system vm-image" can > tak

bug#22633: Provide a kvm-less qemu / guix system vm

2016-02-11 Thread Christopher Allan Webber
So on my Libreboot-enabled machine, KVM does not work. In fact, even starting qemu with KVM enabled on it appears to crash my whole system. Not only does "guix system vm" not work, even "guix system vm-image" can take the whole machine down! It would be nice to have a --no-kvm switch, because I'd