Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 03-24-2012, 06:24 PM   #1
LQ Newbie
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
QEMU running on Ubuntu vmware guest cannot find /dev/kvm

I've installed QEMU (qemu-kvm-0.12.3) on my VMWare guest 'Ubuntu 10.04LTS' system, which all runs on a physical SONY VAIO x86-64 Intel laptop. Although not relevant, the VMWare host system is Windows 7.

When I execute 'qemu linux-0.2.img', the output is

open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support

I've confirmed that /dev/kvm doesn't exist.
I've confirmed that hardware virtualization is enabled in my VAIO BIOS.

Other posts have indicated I should do a 'modprobe kvm-intel'. When I do this, I get the following error message =>

FATAL: Error inserting kvm_intel (/lib/modules/2.6.32-38-generic/kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported

The output from 'lsmod | grep kvm' is the single line

kvm 245573 0

The output from command 'cat /proc/cpuinfo' is

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz
stepping : 5
cpu MHz : 1729.270
cache size : 6144 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx rdtscp lm constant_tsc up arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm ida
bogomips : 3458.54
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

Since the /proc/cpuinfo listing doesn't mention 'vmx', does this mean that QEMU (or KVM) will not function while running on a VMWare Ubuntu guest?

Any suggestions on how to resolve this are appreciated.


Last edited by jerrywrice_fabnexus; 03-24-2012 at 06:33 PM.
Old 03-24-2012, 09:54 PM   #2
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, PCLinuxOS
Posts: 646

Rep: Reputation: 84
Originally Posted by jerrywrice_fabnexus View Post
I've installed QEMU (qemu-kvm-0.12.3) on my VMWare guest 'Ubuntu 10.04LTS' system, ...

FATAL: Error inserting kvm_intel (/lib/modules/2.6.32-38-generic/kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported
I don't think you can run KVM inside a KVM guest, and the error message seems to confirm my belief.

But I think you can run the QEMU emulator without acceleration.
Old 03-25-2012, 12:10 AM   #3
LQ Newbie
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Will look into this.
Old 03-25-2012, 03:16 AM   #4
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
you are running vmware, and in it, you are trying to run kvm. Even if vmware provides nested virtualization (I think that appeared only in WS8), nobody will say for sure, that the way vmware nests the VT and VT-d instructions fits anything but another instance of vmware.

If you want to try kvm, it would be best to install it on the laptop itself


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up networking in qemu (kvm) guest makowka Linux - Networking 1 12-06-2011 06:31 PM
Inserting break point in guest from qemu using ioctls into kvm Jaskaran Singh Linux - Virtualization and Cloud 2 09-26-2011 07:03 AM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
Share between Qemu-Kvm host and guest Alexvader General 1 06-13-2010 03:07 PM
Solaris 10 guest endless reboot under KVM/Qemu green_dood Linux - Software 6 12-13-2009 01:20 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration