Host does not support domain type kvm for virtualization type 'hvm' arch 'x86_64'(示例

Posted linkenpark

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Host does not support domain type kvm for virtualization type 'hvm' arch 'x86_64'(示例相关的知识,希望对你有一定的参考价值。

kvm创建虚拟机报错:

 

qemu-img create -f qcow2 /tmp/centos.qcow2 10G

virt-install --virt-type kvm --name centos --ram 1024 --disk /tmp/centos.qcow2,format=qcow2 --network network=default --graphics vnc,listen=0.0.0.0 --noautoconsole --os-type=linux --os-variant=centos7.0 --location=/usr/local/src/CentOS-7-x86_64-Minimal-1804.iso

 

ERROR Host does not support domain type kvm for virtualization type ‘hvm‘ arch ‘x86_64‘

 

解决方法:

1.modprobe kvm
2.去掉--virt-type kvm参数即可。


以上是关于Host does not support domain type kvm for virtualization type 'hvm' arch 'x86_64'(示例的主要内容,如果未能解决你的问题,请参考以下文章

License server system does not support this version of this feature

错误记录Android Studio 编译报错 ( AppCompat does not support the current theme features )

service redis does not support chkconfig

client does not support authentication

client does not support authentication

service XXX does not support chkconfig