<div dir="ltr">hi,<div><br></div><div>i am using debian flavor called BOSS.</div><div><br></div><div><b>uname -a</b></div><div><div>Linux boss 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux</div></div><div><br></div>
<div>
i installed XEN-4.2.1 from the source.<br></div><div><br></div><div><div><b>virsh # version</b></div><div>error: failed to connect to the hypervisor</div><div>error: no valid connection</div><div>error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory</div>
</div><div><b><br></b></div><div><div><b>root@boss[src]#libvirtd -v</b></div><div>2013-09-30 13:05:36.836+0000: 8199: info : libvirt version: 1.1.2</div><div>2013-09-30 13:05:36.836+0000: 8199: error : libxlCapsInitHost:86 : internal error: Failed to get node physical info from libxenlight</div>
<div>2013-09-30 13:05:36.836+0000: 8199: error : libxlStateInitialize:1362 : cannot create capabilities for libxenlight</div><div>2013-09-30 13:05:36.836+0000: 8199: error : virStateInitialize:840 : Initialization of LIBXL state driver failed: internal error: Failed to get node physical info from libxenlight</div>
<div>2013-09-30 13:05:36.836+0000: 8199: error : daemonRunStateInit:909 : Driver state initialization failed</div></div><div><br></div><div><br></div><div><div><b>root@boss[src]#libvirtd --version</b></div><div>/opt/libvirt-1.1.2/daemon/.libs/lt-libvirtd (libvirt) 1.1.2</div>
</div><div><br></div><div>these are the things which is in my system.</div><div><br></div><div>Regards,</div><div>cooldharma06.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 4:23 PM, Dario Faggioli <span dir="ltr"><<a href="mailto:dario.faggioli@citrix.com" target="_blank">dario.faggioli@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On lun, 2013-09-30 at 11:27 +0530, cooldharma06 wrote:<br>
> hi,<br>
<div class="im">><br>
Hi,<br>
<br>
> thanks for your response.<br>
><br>
><br>
> i cleaned that above one and installed in this following steps:<br>
><br>
><br>
> * sudo apt-get install gcc make pkg-config libxml2-dev libgnutils-dev<br>
> libdevmapper-dev libcurl4-gnutls-dev python-dev libpciaccess-dev<br>
> libxen-dev libnl-dev<br>
><br>
</div>Oh, so you are on Debian/Ubuntu... Which version (so that I can try to<br>
replicate your configuration) ?<br>
<div class="im"><br>
> * ./configure = --prefix=/usr --localstatedir=/var --sysconfdir=/etc<br>
> --with-xen=yes --with-libxl=yes<br>
><br>
</div>Mmm... ok, that's the libvirt part. How did you install Xen? I'm sure I<br>
asked that already, but I can't remember whether or no you answered (if<br>
yes, sorry).<br>
<br>
Last time I tired to compile libvirt with libxl=yes on a Debian system<br>
it was failing because of some issues with the Xen Debian packages (or<br>
so I recall), although that was with Xen 4.3.0.<br>
<br>
So, did you also build Xen yourself or you apt-get installed it?<br>
<div><div class="h5"><br>
> root@boss[daemon]#xl info -n<br>
> host : boss<br>
> release : 3.2.0-4-amd64<br>
> version : #1 SMP Debian 3.2.41-2<br>
> machine : x86_64<br>
> nr_cpus : 8<br>
> max_cpu_id : 7<br>
> nr_nodes : 1<br>
> cores_per_socket : 4<br>
> threads_per_core : 2<br>
> cpu_mhz : 3392<br>
> hw_caps :<br>
> bfebfbff:28100800:00000000:00007f40:77bae3ff:00000000:00000001:00000281<br>
> virt_caps : hvm<br>
> total_memory : 3970<br>
> free_memory : 442<br>
> sharing_freed_memory : 0<br>
> sharing_used_memory : 0<br>
> free_cpus : 0<br>
> cpu_topology :<br>
> cpu: core socket node<br>
> 0: 0 0 0<br>
> 1: 0 0 0<br>
> 2: 1 0 0<br>
> 3: 1 0 0<br>
> 4: 2 0 0<br>
> 5: 2 0 0<br>
> 6: 3 0 0<br>
> 7: 3 0 0<br>
> numa_info :<br>
> node: memsize memfree distances<br>
> 0: 4590 442 10<br>
> xen_major : 4<br>
> xen_minor : 2<br>
> xen_extra : .1<br>
><br>
</div></div>Mmm... I have to admit that the most of the testing I did when working<br>
on the patch for libvirt that introduced the call to<br>
libxl_get_physinfo() that is failing, happened on Xen 4.3, but I'm sure<br>
I tested it with 4.2 a couple of times, and I don't see why it wouldn't<br>
work there...<br>
<br>
If you tell me the precise version of the distro you're using I'll see<br>
if I can give it a try.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
Dario<br>
<br>
--<br>
<<This happens because I choose it to happen!>> (Raistlin Majere)<br>
-----------------------------------------------------------------<br>
Dario Faggioli, Ph.D, <a href="http://about.me/dario.faggioli" target="_blank">http://about.me/dario.faggioli</a><br>
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)<br>
<br>
</div></div></blockquote></div><br></div>