Daniel P. Berrange
2013-Sep-30 08:51 UTC
Re: [libvirt-users] Does libvirt support xapi/xe toolstack?
On Mon, Sep 30, 2013 at 10:49:10AM +0200, Guillaume Thouvenin wrote:> Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca> a écrit : > > >According to [1] it seems that libvirt is using Xend daemon to communicate. > > After reading more documentation it seems that Xend is mandatory. As > everything is not up to date I'd like to know if it is still the > case or if there are some possibilities to use XL instead of Xend?If you have new enough libvirt and Xen >= 4.2 then libvirt will automatically use the libxl APIs instead of XenD. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
Guillaume Thouvenin
2013-Sep-30 09:22 UTC
Re: [libvirt-users] Does libvirt support xapi/xe toolstack?
"Daniel P. Berrange" <berrange@redhat.com> a écrit :> On Mon, Sep 30, 2013 at 10:49:10AM +0200, Guillaume Thouvenin wrote: >> Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca> a écrit : >> >> >According to [1] it seems that libvirt is using Xend daemon to communicate. >> >> After reading more documentation it seems that Xend is mandatory. As >> everything is not up to date I'd like to know if it is still the >> case or if there are some possibilities to use XL instead of Xend? > > If you have new enough libvirt and Xen >= 4.2 then libvirt will automatically > use the libxl APIs instead of XenD. >Thanks for the confirmation. So my version of libvirt seems too old then (I'm using Xen 4.2.2) : # libvirtd --version libvirtd (libvirt) 0.10.2.6 I will try to install libvirt from the git repo. Thanks for your help, Regards.
Guillaume Thouvenin
2013-Sep-30 14:38 UTC
Re: [libvirt-users] Does libvirt support xapi/xe toolstack?
Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca> a écrit :> "Daniel P. Berrange" <berrange@redhat.com> a écrit : >> If you have new enough libvirt and Xen >= 4.2 then libvirt will >> automatically >> use the libxl APIs instead of XenD.I have compiled a version 1.1.2 (with xapi and xl support) and installed it in /usr/local. I started the daemon but I didn't see my vm1 listed even if everything seems fine in the log: # /usr/local/sbin/libvirtd --daemon # xl list Name ID Mem VCPUs State Time(s) Domain-0 0 2047 32 r----- 188.2 vm1 1 4096 1 -b---- 13.5 # LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/virsh -c xen:/// list --all Id Name State ---------------------------------------------------- # I see nothing in the libvirtd.log and I see this in libxl-driver.log: # cat libxl/libxl-driver.log xc: debug: hypercall buffer: total allocations:21 total releases:21 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:16 misses:4 toobig:1 xc: debug: hypercall buffer: total allocations:21 total releases:21 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:16 misses:4 toobig:1 xc: debug: hypercall buffer: total allocations:18 total releases:18 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:13 misses:4 toobig:1 xc: debug: hypercall buffer: total allocations:18 total releases:18 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:13 misses:4 toobig:1 xc: debug: hypercall buffer: total allocations:18 total releases:18 xc: debug: hypercall buffer: current allocations:0 maximum allocations:4 xc: debug: hypercall buffer: cache current size:4 xc: debug: hypercall buffer: cache hits:13 misses:4 toobig:1 Any idea where I should looked to find why I don't see the vm1 with the virsh command? Regards, Guillaume