all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* /dev/kvm missing
@ 2021-03-16 15:45 Andreas Enge
  2021-03-16 18:16 ` Luis Felipe
  2021-03-16 19:32 ` Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Enge @ 2021-03-16 15:45 UTC (permalink / raw)
  To: help-guix

Hello,

trying to run the Android emulator on Guix, I notice that /dev/kvm is
missing on my system; "lsmod | grep kvm" shows these:
kvm                   819200  0
irqbypass              16384  1 kvm

Do I need to add anything to my system configuration to enable it? I am
using the 5.11.4-gnu kernel on an Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz.

Thanks for your advice,

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/kvm missing
  2021-03-16 15:45 /dev/kvm missing Andreas Enge
@ 2021-03-16 18:16 ` Luis Felipe
  2021-03-16 20:02   ` Julien Lepiller
  2021-03-16 19:32 ` Leo Famulari
  1 sibling, 1 reply; 5+ messages in thread
From: Luis Felipe @ 2021-03-16 18:16 UTC (permalink / raw)
  To: Andreas Enge; +Cc: help-guix@gnu.org

Hi, Andreas,

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, March 16, 2021 3:45 PM, Andreas Enge <andreas@enge.fr> wrote:

> Hello,
>
> trying to run the Android emulator on Guix, I notice that /dev/kvm is
> missing on my system; "lsmod | grep kvm" shows these:
> kvm 819200 0
> irqbypass 16384 1 kvm
>
> Do I need to add anything to my system configuration to enable it? I am
> using the 5.11.4-gnu kernel on an Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz.


I have /dev/kvm in my system. In my user-account record I have "kvm" in the supplementary-groups field.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/kvm missing
  2021-03-16 15:45 /dev/kvm missing Andreas Enge
  2021-03-16 18:16 ` Luis Felipe
@ 2021-03-16 19:32 ` Leo Famulari
  2021-03-16 21:09   ` Andreas Enge
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2021-03-16 19:32 UTC (permalink / raw)
  To: Andreas Enge; +Cc: help-guix

On Tue, Mar 16, 2021 at 04:45:35PM +0100, Andreas Enge wrote:
> Hello,
> 
> trying to run the Android emulator on Guix, I notice that /dev/kvm is
> missing on my system; "lsmod | grep kvm" shows these:
> kvm                   819200  0
> irqbypass              16384  1 kvm
> 
> Do I need to add anything to my system configuration to enable it? I am
> using the 5.11.4-gnu kernel on an Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz.

You may need to enable it in the BIOS. There should be an option about
"virtualization extensions", or maybe some "Intel VT-something" feature.

I have the same CPU and it supports KVM.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/kvm missing
  2021-03-16 18:16 ` Luis Felipe
@ 2021-03-16 20:02   ` Julien Lepiller
  0 siblings, 0 replies; 5+ messages in thread
From: Julien Lepiller @ 2021-03-16 20:02 UTC (permalink / raw)
  To: Luis Felipe, Andreas Enge; +Cc: help-guix@gnu.org

Just thinking about it, but there's a setting in bios you need to activate for it to work. Then the kernel might pick it up only when it's activated. Have you ever tried running qemu-kvm?

Le 16 mars 2021 14:16:08 GMT-04:00, Luis Felipe <luis.felipe.la@protonmail.com> a écrit :
>Hi, Andreas,
>
>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>On Tuesday, March 16, 2021 3:45 PM, Andreas Enge <andreas@enge.fr>
>wrote:
>
>> Hello,
>>
>> trying to run the Android emulator on Guix, I notice that /dev/kvm is
>> missing on my system; "lsmod | grep kvm" shows these:
>> kvm 819200 0
>> irqbypass 16384 1 kvm
>>
>> Do I need to add anything to my system configuration to enable it? I
>am
>> using the 5.11.4-gnu kernel on an Intel(R) Core(TM) i5-6300U CPU @
>2.40GHz.
>
>
>I have /dev/kvm in my system. In my user-account record I have "kvm" in
>the supplementary-groups field.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: /dev/kvm missing
  2021-03-16 19:32 ` Leo Famulari
@ 2021-03-16 21:09   ` Andreas Enge
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Enge @ 2021-03-16 21:09 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

Hello,

thanks to all of you for your kind and helpful replies!

Am Tue, Mar 16, 2021 at 03:32:03PM -0400 schrieb Leo Famulari:
> You may need to enable it in the BIOS. There should be an option about
> "virtualization extensions", or maybe some "Intel VT-something" feature.

Indeed, it was disabled in the BIOS, after I enabled virtualisation,
/dev/kvm appeared.

Am Tue, Mar 16, 2021 at 06:16:08PM +0000 schrieb Luis Felipe:
> I have /dev/kvm in my system. In my user-account record I have "kvm" in the supplementary-groups field.

And that is something I also added, since
$ ll /dev/kvm
crw-rw---- 1 root kvm 10, 232 16. Mär 21:49 /dev/kvm
has group "kvm".

I got another suggestion off the list to try as a stop-gap measure
an "mknod /dev/kvm c 10 232", which did not work; maybe because the
group was "root" instead of "kvm", but more likely because of the BIOS.

All the best,

Andreas



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-18 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 15:45 /dev/kvm missing Andreas Enge
2021-03-16 18:16 ` Luis Felipe
2021-03-16 20:02   ` Julien Lepiller
2021-03-16 19:32 ` Leo Famulari
2021-03-16 21:09   ` Andreas Enge

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.