WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kvm extension does not create /dev/kvm on boot  (Read 3511 times)

Offline vladfaust2

  • Newbie
  • *
  • Posts: 3
kvm extension does not create /dev/kvm on boot
« on: May 28, 2019, 03:08:20 PM »
Hello,

I'm trying to install KVM onto Corepure64. I've installed kvm extension, and looks like kernel modules are loaded. This is the output from boot: corepure64 pause showapps tce=sda home=sda:



And this is what I got after booting:



As you can see, there is no `/dev/kvm`.

I'm running CorePure64-10.0.iso on VirtualBox 6.0.8 on AMD processor with Nested VT-x/AMD-V enabled.

FYI, an Ubuntu-18.04.2-live-server-amd64.iso image run on the same VirtualBox configuration pre-installs kvm and it works flawlessly:



Any help would be highly appreciated!

Offline vladfaust2

  • Newbie
  • *
  • Posts: 3
Re: kvm extension does not create /dev/kvm on boot
« Reply #1 on: May 28, 2019, 03:42:27 PM »
For some reason I thought that modprobe -l would list installed modules, but that's not true. lsmod gives better view, confirming that the module isn't loaded at all:


Offline vladfaust2

  • Newbie
  • *
  • Posts: 3
Re: kvm extension does not create /dev/kvm on boot
« Reply #2 on: May 28, 2019, 03:52:08 PM »
Aaand the issue is solved with manual sudo modprobe kvm-amd command!  ::)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: kvm extension does not create /dev/kvm on boot
« Reply #3 on: May 29, 2019, 02:34:03 AM »
Yeah, some modules don't autoload by the kernel. IIRC kvm gets autoloaded when you try to start a VM.
The only barriers that can stop you are the ones you create yourself.