安装kvm-ok查看kvm状态sudo apt-get install cpu-checker在终端输入sudo kvm-ok来检查CPU目前状态。当CPU不支持硬件虚拟化时返回:INFO:Your CPU does not support KVM extensionsKVM acceleration can NOT be used当CPU支持硬件虚拟化但未启用时返回:INFO:Your CPU supports KVM extensionsINFO:KVM (vmx) is disabled by your BIOSHINT:Enter your BIOS setup and enable Virtualization Technology (VT),and then hard power off/power on your systemKVM acceleration can NOT be usedCPU支持硬件虚拟化且正常启用时返回INFO:/dev/kvm does not existHINT: sudo modprobe kvm_intelINFO:Your CPU supports KVM extensionsKVM acceleration can be used 还有你vmware可以试试这样设置: good luck!
还有你vmware可以试试这样设置:
good luck!
即前面有图片中的cpuinfo中找不到vmx。如果你祼机装一个linux系统,再来看有没有vmx的话,就看得到了。
我更正一下我上一次的回复。
这个问题我后面经过实践发现,vmware里面的虚拟机要能KVM acceleration的话,需要vmware的配置文件达到一定版本。我之前创建虚拟机经常用的是workstation 6.5-7.x,如果用这个版本,那里面的虚拟机是不可能KVM acceleration的。我测试过支持的一个版本是将原来的虚拟机升级到workstation 9.0,就支持了。