QEMU running on Ubuntu vmware guest cannot find /dev/kvm
Linux - Virtualization and CloudThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Jerry
Last edited by jerrywrice_fabnexus; 03-24-2012 at 06:33 PM.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.