创建虚拟机类型为:“virt type :kvm” 时,会报如下错误:

Could not access KVM kernel module: Permission denied 
failed to initialize KVM: Permission denied 
No accelerator found!

是权限问题,做如下处理:

#chown root:kvm /dev/kvm

修改/etc/libvirt/qemu.conf,

#user="root"

user="root"

#group="root"

group="root"

重启服务

#service libvirtd restart,问题解决了

 

相关文章:

  • 2022-01-19
  • 2021-11-17
  • 2022-02-20
  • 2021-09-07
  • 2022-02-25
  • 2021-06-16
  • 2021-11-29
  • 2021-10-23
猜你喜欢
  • 2022-02-22
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-01-17
  • 2021-11-15
相关资源
相似解决方案