libxenlight 状态驱动程序未激活

libxenlight 状态驱动程序未激活

我正在尝试使用 virt-manager 创建新的 xen 连接。一开始它没有成功,因为出现以下错误:“无法将套接字连接到“/var/run/libvirt/-virtxend-sock”。未找到文件或目录“;但后来我按照这个帖子上的@Christian Ehrhardt 建议:

套接字至‘/var/run/libvirt/virtxend-sock’:未找到文件或目录

第一个错误消失了,但现在又出现了另一个错误:“libxenlight 状态驱动程序未激活“。该如何解决?

● libvirtd.service - Virtualization daemon
     Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2020-07-15 18:26:11 CEST; 23min ago
TriggeredBy: ● libvirtd-ro.socket
             ● libvirtd-admin.socket
             ● libvirtd.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 2376 (libvirtd)
      Tasks: 17 (limit: 32768)
     Memory: 77.4M
     CGroup: /system.slice/libvirtd.service
             └─2376 /usr/sbin/libvirtd

lug 15 18:26:09 ziomario-I9 libvirtd[2376]: Unable to open /dev/kvm: File o directory non esistente
lug 15 18:26:11 ziomario-I9 systemd[1]: Started Virtualization daemon.
lug 15 18:26:14 ziomario-I9 libvirtd[2376]: Unable to open /dev/kvm: File o directory non esistente
lug 15 18:32:36 ziomario-I9 libvirtd[2376]: Unable to open /dev/kvm: File o directory non esistente
lug 15 18:32:37 ziomario-I9 libvirtd[2376]: Unable to open /dev/kvm: File o directory non esistente
lug 15 18:32:37 ziomario-I9 libvirtd[2376]: internal error: Cannot find suitable CPU model for given data
lug 15 18:32:37 ziomario-I9 libvirtd[2376]: Unable to open /dev/kvm: File o directory non esistente
lug 15 18:32:37 ziomario-I9 libvirtd[2376]: operation failed: pool 'default' already exists with uuid 4794da80-c4ef-43a5-aee5>
lug 15 18:32:48 ziomario-I9 libvirtd[2376]: internal error: libxenlight state driver is not active
lug 15 18:32:48 ziomario-I9 libvirtd[2376]: End of file while reading data: Errore di input/output

~

root@ziomario-I9:/home/ziomario# virsh -c xen:///
error: failed to connect to the hypervisor
error: internal error: libxenlight state driver is not active

 root@ziomario-I9:/home/ziomario# virsh  version
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.0

相关内容