![如何使用 virt-manager 客户端管理 xen-hypervisor?](https://linux22.com/image/755429/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%20virt-manager%20%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%20xen-hypervisor%EF%BC%9F.png)
我已经在 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 服务