我在AWS上使用了CentOS AMI,使用了Type C5.large和HVM。我安装了KVM软件包,但当我运行kvm-ok
时,输出结果为:
Your CPU does not support KVM extensions
KVM acceleration can NOT be used
我的CPU为什么不支持加速呢?
我在AWS上使用了CentOS AMI,使用了Type C5.large和HVM。我安装了KVM软件包,但当我运行kvm-ok
时,输出结果为:
Your CPU does not support KVM extensions
KVM acceleration can NOT be used
我的CPU为什么不支持加速呢?
这里有一个提示 https://kubevirt.io/user-guide/operations/installation/#installing-kubevirt-on-kubernetes 如果硬件虚拟化不可用,则可以通过在KubeVirt CR spec.configuration.developerConfiguration.useEmulation中设置为true来启用软件仿真回退,如下所示:
kubectl edit -n kubevirt kubevirt kubevirt 将以下内容添加到kubevirt.yaml文件中
spec:
...
configuration:
developerConfiguration:
useEmulation: true