[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v13 03/26] tools/libxl: Add back channel to allow migration target send data back
CC Jim On Mon, Apr 04, 2016 at 02:07:28PM +0200, Olaf Hering wrote: > On Fri, Mar 25, Changlong Xie wrote: > > > +#elif defined(LIBXL_API_VERSION) && LIBXL_API_VERSION >= 0x040400 \ > > + && LIBXL_API_VERSION < 0x040700 > > Is this supposed to work? libvirt.git fails to build now: > > libxl/libxl_domain.c: In function 'libxlDomainStart': > libxl/libxl_domain.c:1077: warning: passing argument 5 of > 'libxl_domain_create_restore' makes integer from pointer without a cast > libxl/libxl_domain.c:1077: warning: passing argument 7 of > 'libxl_domain_create_restore' from incompatible pointer type > libxl/libxl_domain.c:1077: error: too few arguments to function > 'libxl_domain_create_restore' > make[3]: *** [libxl/libvirt_driver_libxl_impl_la-libxl_domain.lo] Error 1 > From the look of it that's because libvirt doesn't have LIBXL_API_VERSION defined before including libxl.h, so it always gets the latest API. The fix is to patch libvirt. Looking at libvirt code I think I need to patch Makefile.in to pass in an explicit LIBXL_API_VERSION number. Jim, does that sound right? Wei. > Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |