<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello.<div>I want to use libvirt for toolstack of Xen (not XenServer) to set up Openstack system but,</div><div>I'm new to libvirt so, I had some troubles on installing libvirt.</div><div><br></div><div>I downloaded the source code, build and installed it, following here (<a href="https://libvirt.org/compiling.html">https://libvirt.org/compiling.html</a>).</div><div>However, when I type a command (# virsh 'xen:///system' list) to check if libvirt has been installed successfully, </div><div>I can see an error message:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">error: failed to connect to the hypervisor<br>error: internal error: libxenlight state driver is not active</blockquote></div><div><br></div><div><br></div><div>Of course, I confirmed that Xen was working well:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">root@node1:/home/nickeys# xl list<br>Name                                        ID   Mem VCPUs      State   Time(s)<br>Domain-0                                     0 95656    32     r-----    5888.0</blockquote><div><br></div><div>And I'm wondering why 'Using API' below is QEMU. How can I change that to Xen ?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">root@node1:

/home/nickeys# virsh version<br>Compiled against library: libvirt 4.9.0<br>Using library: libvirt 4.9.0<br>Using API: QEMU 4.9.0<br>Running hypervisor: QEMU 2.11.1 </blockquote><div><br></div><div>I'm using libvirt 4.9, Xen 4.12 (the current latest) and Linux kernel 4.16.1.  <br></div><div>I want to know how to make the 'libxenlight state driver' active.</div></div><div>Please let me know where I should check first to fix this wrong state, or any tip is also okay.</div><div><br></div><div>Thanks.</div><div><br></div></div></div></div></div></div></div></div></div>