我已经在 debian 10 桌面上安装了 xen-hypervisor 4.11。但是,当我将 xen 连接添加到 virt-manager 时,它显示了此错误。
Unable to connect to libvirt xen:///.
Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
Verify that:
- A Xen host kernel was booted
- The Xen service has been started
Libvirt URI is: xen:///
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1012, in _do_open
self._backend.open(connectauth.creds_dialog, self)
File "/usr/share/virt-manager/virtinst/connection.py", line 138, in open
open_flags)
File "/usr/lib/python3/dist-packages/libvirt.py", line 104, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
我是否需要兼容 IOMMU 的主板来使用 Xen-hypervisor?或者其他什么?
答案1
- 安装 libvirt-daemon-driver-xen
- 重启 libvirtd 服务