xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] COLO: only build when libnl is available
@ 2016-04-06 11:01 Wei Liu
  2016-04-06 11:01 ` [PATCH v2 1/4] libxl: colo: rearrange things in header files Wei Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Wei Liu @ 2016-04-06 11:01 UTC (permalink / raw)
  To: Xen-devel
  Cc: Wei Liu, Changlong Xie, Ian Jackson, Wen Congyang, Roger Pau Monné

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-04-06 14:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 11:01 [PATCH v2 0/4] COLO: only build when libnl is available Wei Liu
2016-04-06 11:01 ` [PATCH v2 1/4] libxl: colo: rearrange things in header files Wei Liu
2016-04-06 11:01 ` [PATCH v2 2/4] libxl: colo: move netlink related stuff to libxl_colo_proxy.c Wei Liu
2016-04-06 11:01 ` [PATCH v2 3/4] build: rename CONFIG_REMUS_NETBUF to CONFIG_LIBNL Wei Liu
2016-04-06 11:29   ` Andrew Cooper
2016-04-06 11:32     ` Wei Liu
2016-04-06 13:44   ` Ian Jackson
2016-04-06 11:01 ` [PATCH v2 4/4] libxl: colo: make it depend on availability of libnl Wei Liu
2016-04-06 13:44   ` Ian Jackson
2016-04-06 11:04 ` [PATCH v2 0/4] COLO: only build when libnl is available Wei Liu
2016-04-06 13:56   ` Wei Liu
2016-04-06 14:10     ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).