Hello
I'm trying to create a new xen connection with virt-manager. At the beginning it didn't work because this error : "failed to connect socket to '/var/run/libvirt/-virtxend-sock. file or directory not found" ; but then I followed the @Christian Ehrhardt suggestion on this thread :
https://askubuntu.com/questions/1259...tory-not-found
and the first error is gone,but now there is another error : "libxenlight state driver is not active". How to fix that ?
Quote:
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
|
Code:
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