Install KVM on Ubuntu

I tried installing KVM according to the guidelines provided in the Ubuntu wiki, but when I open Virtual Machine Manager, it says

'Warning: KVM is not available. This may mean that the KVM package is not installed or the KVM kernel modules are not loaded. Your virtual machines may not work well.

I have hardware virtualization enabled in my BIOS settings. This displays sudo / usr / sbin / kvm-ok :

INFO: / dev / kvm does not exist TIP: sudo modprobe kvm_intel modprobe: FATAL: msr module not found.

In addition, the output of sudo modprobe kvm_intel is as follows:

modprobe: FATAL: kvm_intel module not found.

+4
source share
3 answers

I ran Ubuntu 14.04 with the latest kernel version. But in the end, it turned out that KVM works fine with the Ubuntu kernel. So I tried using 3.13.0-24-generic, which comes by default with Ubuntu 14.04, and this solved my problem. KVM is working fine now.

+1
source

This seems like a setup failure.

What is the result of this command?

lsmod | grep kvm 

I do not expect an exit. If so, is this the guide you followed? What was the result

 sudo apt-get install kvm qemu 
+2
source

It looks like you did not install it:
Fedora:

yum install kvm qemu

Ubuntu:

sudo apt-get install kvm qemu

0
source

All Articles