我一直在关注此链接https://help.ubuntu.com/community/KVM/Installation在 Ubuntu 18.04.1 LTS 上安装 KVM。但是我无法正常启动并遇到以下错误。
$ virsh list --all
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock':
No such file or directory
Run Code Online (Sandbox Code Playgroud)
该目录/var/run/libvirt/libvirt-sock
确实不包含libvirt-sock
$ ls /var/run/libvirt
network storage virtlockd-sock virtlogd-sock
Run Code Online (Sandbox Code Playgroud)
这个问题的解决方案是什么?以及如何正确安装 KVM?非常感谢
kvm ×1