xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: "Wei Liu" <wei.liu2@citrix.com>,
	"Changlong Xie" <xiecl.fnst@cn.fujitsu.com>,
	"Ian Jackson" <Ian.Jackson@eu.citrix.com>,
	"Wen Congyang" <wency@cn.fujitsu.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [PATCH v2 0/4] COLO: only build when libnl is available
Date: Wed, 6 Apr 2016 12:01:12 +0100	[thread overview]
Message-ID: <1459940476-23186-1-git-send-email-wei.liu2@citrix.com> (raw)

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	other threads:[~2016-04-06 11:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06 11:01 Wei Liu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459940476-23186-1-git-send-email-wei.liu2@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=roger.pau@citrix.com \
    --cc=wency@cn.fujitsu.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=xiecl.fnst@cn.fujitsu.com \
    --subject='Re: [PATCH v2 0/4] COLO: only build when libnl is available' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).