更新:

更新:

我有一台 Dell OPTIPLEX 755 机器,在 BIOS 中启用了 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

消息

[   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

答案1

在你的 BIOS 中你应该有以下设置:

  • 安全:执行禁用应该
  • 表现:虚拟化应该
  • 表现:VT 用于直接 I/O 访问应该
  • 表现:可信执行应该离开

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

相关内容