user3855944
user3855944

Reputation:

KVM installation in Ubuntu

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

'Warning: KVM is not available. This may mean the KVM package is not installed, or the KVM kernel modules are not loaded. Your virtual machines may perform poorly.'

I have hardware virtulization enabled in my BIOS settings. Here, is a output of sudo /usr/sbin/kvm-ok:

INFO: /dev/kvm does not exist HINT: sudo modprobe kvm_intel modprobe: FATAL: Module msr not found.

Also, output of sudo modprobe kvm_intel is as follows:

modprobe: FATAL: Module kvm_intel not found.

Upvotes: 6

Views: 29206

Answers (4)

code.rookie
code.rookie

Reputation: 356

Install using sudo apt-get install qemu-kvm

You should also check if Virtualization Technology is enabled. To do this, reboot your system, enter BIOS and enable Intel VTT or Intel VT-d from virtualization options. Save and exit.

Upvotes: 1

user6123979
user6123979

Reputation: 215

Looks like you don't have it installed:
Fedora:

yum install kvm qemu

Ubuntu:

sudo apt-get install kvm qemu

Upvotes: 2

user3855944
user3855944

Reputation:

I was running Ubuntu 14.04 with recent kernel version. But it eventually turned out that KVM works well with Ubuntu kernel only. 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 for me now.

Upvotes: 1

Carlo Lobrano
Carlo Lobrano

Reputation: 368

It does look like the installation failed.

What's the output of this command?

lsmod | grep kvm

I expect no output. If that so, is it this the guide you followed? What was the output of

sudo apt-get install kvm qemu 

Upvotes: 4

Related Questions