linux – 在BIOS中启用VT但KVM无法检测到

前端之家收集整理的这篇文章主要介绍了linux – 在BIOS中启用VT但KVM无法检测到前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有戴尔OPTIPLEX 755机器,在B IOS中启用了VT但是当我尝试使用KVM检查时,我收到以下错误

我错过了什么?

root@nova-controller:~# kvm-ok
INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_intel
INFO: Your cpu supports KVM extensions
INFO: KVM (vmx) is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),and then hard poweroff/poweron your system
KVM acceleration can NOT be used
root@nova-controller:~#

更新:

root@nova-controller:~# sudo modprobe kvm_intel
FATAL: Error inserting kvm_intel (/lib/modules/3.2.0-26-generic/kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported

dmesg的

[   57.887352] kvm: disable TXT in the BIOS or activate TXT before enabling KVM
[   57.887354] kvm: disabled by bios
[   61.199353] kvm: disable TXT in the BIOS or activate TXT before enabling KVM
[   61.199355] kvm: disabled by bios
[  965.566334] kvm: disable TXT in the BIOS or activate TXT before enabling KVM
[  965.566337] kvm: disabled by bios

解决方法

在BIOS you should have中进行以下设置:

>安全性:Execute Disable应为On
>性能:虚拟化应该开启
>性能:直接I / O访问的VT应为On
>性能:可信执行应该关闭

更改这些并保存设置后,请关闭计算机并重新打开电源.

猜你在找的Linux相关文章