Xen via libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
I want to use libvirt for toolstack of Xen (not XenServer) to set up Openstack system but,
I'm new to libvirt so, I had some troubles on installing libvirt.

I downloaded the source code, build and installed it, following here (https://libvirt.org/compiling.html).
However, when I type a command (# virsh 'xen:///system' list) to check if libvirt has been installed successfully, 
I can see an error message:

error: failed to connect to the hypervisor
error: internal error: libxenlight state driver is not active


Of course, I confirmed that Xen was working well:

root@node1:/home/nickeys# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 95656    32     r-----    5888.0

And I'm wondering why 'Using API' below is QEMU. How can I change that to Xen ?

root@node1: /home/nickeys# virsh version
Compiled against library: libvirt 4.9.0
Using library: libvirt 4.9.0
Using API: QEMU 4.9.0
Running hypervisor: QEMU 2.11.1 

I'm using libvirt 4.9, Xen 4.12 (the current latest) and Linux kernel 4.16.1.  
I want to know how to make the 'libxenlight state driver' active.
Please let me know where I should check first to fix this wrong state, or any tip is also okay.

Thanks.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux