[libvirt-users] howto make libvirtd xen-4.2

Heiko L. heikol at fh-lausitz.de
Tue Mar 5 21:07:14 UTC 2013


Hallo

I wanted to compile libvirtd on xen-4.2
but on [3] wrote: ...current version of libvirt is not compatible with xen 4.2...
Which version that I can test?


regards heiko


--------------------------------------------------
- details

130305.xen.make.libvirtd

#### var
tmp=/tmp
libvirtver="0.10.2"
pkgs="libxml2-dev libdevmapper-dev"

#### dl
cd $tmp
## dl [2]
wget ftp://libvirt.org/libvirt/libvirt-$libvirtver.tar.gz
apt-get install $pkgs


#### make
tar -xzf libvirt-$libvirtver.tar.gz
cd libvirt-$libvirtver
./configure
make && make install


-----------------------------------------------------
#### details

# make
...
  CC     libvirt_driver_xen_impl_la-xen_inotify.lo
  CCLD   libvirt_driver_xen_impl.la
  CCLD   libvirt_driver_xen.la
  CC     libvirt_driver_libxl_impl_la-libxl_conf.lo
In file included from libxl/libxl_conf.c:43:
libxl/libxl_conf.h:61: error: field 'ctx' has incomplete type
libxl/libxl_conf.h:80: error: field 'ctx' has incomplete type
libxl/libxl_conf.h:81: error: expected specifier-qualifier-list before 'libxl_waiter'
libxl/libxl_conf.c: In function 'libxlMakeDomCreateInfo':
libxl/libxl_conf.c:365: warning: implicit declaration of function 'libxl_init_create_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:365: warning: nested extern declaration of 'libxl_init_create_info' [-Wnested-externs]


- on [3] wrote:  ...current version of libvirt is not compatible with xen 4.2...

=========================================================================
[1] https://www.redhat.com/archives/libvirt-users/2012-September/msg00113.html
    Re: [libvirt-users] virsh list not working with xen 4
    virsh list --all only shows turned off machines registered in xend.


[2] ftp://libvirt.org/libvirt/
   Index of ftp://libvirt.org/libvirt/

[3] http://superuser.com/questions/481662/xen-4-2-on-centos-6-3-cant-compile-a-libvirt-0-9-10-xen-activated
   Xen 4.2 on CentOs 6.3 : can't compile a libvirt 0.9.10 xen-activated?
   ...current version of libvirt is not compatible with xen 4.2...






More information about the libvirt-users mailing list