COLO-proxy: Add colo_userspace_proxy macro
authorZhang Chen <zhangchen.fnst@cn.fujitsu.com>
Mon, 6 Mar 2017 02:59:26 +0000 (10:59 +0800)
committerWei Liu <wei.liu2@citrix.com>
Tue, 14 Mar 2017 11:37:00 +0000 (11:37 +0000)
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.h

index 92f17512703fd6a575bd6261ad60fb34dbee85e3..4c60e8fc54e2f61f83a0b37db5cb2c63740e4561 100644 (file)
@@ -870,6 +870,12 @@ typedef struct libxl__ctx libxl_ctx;
  */
 #define LIBXL_HAVE_REMUS 1
 
+/*
+ * LIBXL_HAVE_COLO_USERSPACE_PROXY
+ * If this is defined, then libxl supports COLO userspace proxy.
+ */
+#define LIBXL_HAVE_COLO_USERSPACE_PROXY 1
+
 typedef uint8_t libxl_mac[6];
 #define LIBXL_MAC_FMT "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx"
 #define LIBXL_MAC_FMTLEN ((2*6)+5) /* 6 hex bytes plus 5 colons */