COLO depends on netlink which is only available on Linux. This series cleans up
COLO code and make it only build when libnl is available.  This should fix
FreeBSD build.

Tested building on Linux with and without libnl-3-dev and libnl3-route-dev.

git rebase -i HEAD~4 --exec \
  './configure --disable-stubdom && \
   CCACHE_DISABLE=1 make -C tools/libxl clean && \
   CCACHE_DISABLE=1 make -C tools/libxl -j8'

Both build tests on every single commit passed.

Wei.


Wei Liu (4):
  libxl: colo: rearrange things in header files
  libxl: colo: move netlink related stuff to libxl_colo_proxy.c
  build: rename CONFIG_REMUS_NETBUF to CONFIG_LIBNL
  libxl: colo: make it depend on availability of libnl

 config/Tools.mk.in             |  2 +-
 tools/configure                | 10 +++----
 tools/configure.ac             |  6 ++--
 tools/hotplug/Linux/Makefile   |  2 +-
 tools/libxl/Makefile           | 11 ++++++--
 tools/libxl/libxl_colo.h       | 52 +++++++++++++++++------------------
 tools/libxl/libxl_colo_proxy.c | 13 +++++++++
 tools/libxl/libxl_internal.h   | 36 ++++++++----------------
 tools/libxl/libxl_no_colo.c    | 62 ++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 130 insertions(+), 64 deletions(-)
 create mode 100644 tools/libxl/libxl_no_colo.c

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to