“虚拟机”的烦恼
Tofloor
poster avatar
wei15653124686
deepin
2020-04-11 00:49
Author
本帖最后由 wei15653124686 于 2020-4-10 19:11 编辑

我的KVM虚拟机出现了无法连接到libvirt。有大神知道的吗?如有知道的,麻烦回复一下,谢谢
图片:

Reply Favorite View the author
All Replies
avatar
wei15653124686
deepin
2020-04-11 01:08
#1
报错日志:
无法连接到 libvirt。

确定 ‘libvirtd’ 守护进程正在运行。

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 904, in _do_open
    self._backend.open(self._do_creds_password)
  File "/usr/share/virt-manager/virtinst/connection.py", line 148, in open
    open_flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': 没有那个文件或目录
Reply View the author
avatar
ghostry
deepin
2020-04-11 02:31
#2
libvirt 服务没有运行.
Reply View the author
avatar
wei15653124686
deepin
2020-04-11 03:03
#3
https://bbs.deepin.org/post/191252
libvirt 服务没有运行.

那该怎么启动呢?
Reply View the author
avatar
ghostry
deepin
2020-04-11 05:10
#4
https://bbs.deepin.org/post/191252
那该怎么启动呢?

debian 配置kvm

搜上面这个.

如果只是要用虚机,vbox还简单些,这个kvm相对复杂.
Reply View the author
avatar
wei15653124686
deepin
2020-04-11 05:26
#5
https://bbs.deepin.org/post/191252
debian 配置kvm

搜上面这个.

呜呜呜,可惜我的虚拟镜像是qcow2,感谢提供!
Reply View the author
avatar
ghostry
deepin
2020-04-11 05:37
#6
https://bbs.deepin.org/post/191252
呜呜呜,可惜我的虚拟镜像是qcow2,感谢提供!

https://blog.51cto.com/shunzi115/2070437

可以看下这个.
Reply View the author