[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] paths.m4: provide XENSTORED_{KVA, PORT}



commit c5fc41a10de6217774b4c44ff7977be437263a1b
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Tue Apr 18 15:20:03 2017 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Thu Apr 20 12:02:53 2017 +0100

    paths.m4: provide XENSTORED_{KVA,PORT}
    
    The default values are Linux device names. No users yet.
    
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Reviewed-by: Christian Lindig <christian.lindig@xxxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Release-acked-by: Julien Grall <julien.grall@xxxxxxx>
---
 configure       | 14 ++++++++++++++
 docs/configure  | 14 ++++++++++++++
 m4/paths.m4     | 12 ++++++++++++
 tools/configure | 14 ++++++++++++++
 4 files changed, 54 insertions(+)

diff --git a/configure b/configure
index 46fa04b..c2bc3c4 100755
--- a/configure
+++ b/configure
@@ -614,6 +614,8 @@ LIBEXEC_LIB
 LIBEXEC_BIN
 LIBEXEC
 CONFIG_LEAF_DIR
+XENSTORED_PORT
+XENSTORED_KVA
 host_os
 host_vendor
 host_cpu
@@ -1875,6 +1877,18 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 
's/ /-/g'`;; esac
 
 
 
+case "$host_os" in
+*freebsd*) XENSTORED_KVA=/dev/xen/xenstored ;;
+*) XENSTORED_KVA=/proc/xen/xsd_kva ;;
+esac
+
+
+case "$host_os" in
+*freebsd*) XENSTORED_PORT=/dev/xen/xenstored ;;
+*) XENSTORED_PORT=/proc/xen/xsd_port ;;
+esac
+
+
 
 
 test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
diff --git a/docs/configure b/docs/configure
index d05b9a8..5db2989 100755
--- a/docs/configure
+++ b/docs/configure
@@ -613,6 +613,8 @@ LIBEXEC_LIB
 LIBEXEC_BIN
 LIBEXEC
 CONFIG_LEAF_DIR
+XENSTORED_PORT
+XENSTORED_KVA
 target_alias
 host_alias
 build_alias
@@ -1781,6 +1783,18 @@ ac_configure="$SHELL $ac_aux_dir/configure"  # Please 
don't use this var.
 
 
 
+case "$host_os" in
+*freebsd*) XENSTORED_KVA=/dev/xen/xenstored ;;
+*) XENSTORED_KVA=/proc/xen/xsd_kva ;;
+esac
+
+
+case "$host_os" in
+*freebsd*) XENSTORED_PORT=/dev/xen/xenstored ;;
+*) XENSTORED_PORT=/proc/xen/xsd_port ;;
+esac
+
+
 
 
 test "x$prefix" = "xNONE" && prefix=$ac_default_prefix
diff --git a/m4/paths.m4 b/m4/paths.m4
index 93ce89a..f208b7e 100644
--- a/m4/paths.m4
+++ b/m4/paths.m4
@@ -147,3 +147,15 @@ AC_SUBST(XEN_PAGING_DIR)
 XEN_DUMP_DIR=$xen_dumpdir_path
 AC_SUBST(XEN_DUMP_DIR)
 ])
+
+case "$host_os" in
+*freebsd*) XENSTORED_KVA=/dev/xen/xenstored ;;
+*) XENSTORED_KVA=/proc/xen/xsd_kva ;;
+esac
+AC_SUBST(XENSTORED_KVA)
+
+case "$host_os" in
+*freebsd*) XENSTORED_PORT=/dev/xen/xenstored ;;
+*) XENSTORED_PORT=/proc/xen/xsd_port ;;
+esac
+AC_SUBST(XENSTORED_PORT)
diff --git a/tools/configure b/tools/configure
index 6ea8684..8171a06 100755
--- a/tools/configure
+++ b/tools/configure
@@ -731,6 +731,8 @@ LIBEXEC_LIB
 LIBEXEC_BIN
 LIBEXEC
 CONFIG_LEAF_DIR
+XENSTORED_PORT
+XENSTORED_KVA
 FILE_OFFSET_BITS
 OBJEXT
 EXEEXT
@@ -3797,6 +3799,18 @@ esac
 
 
 
+case "$host_os" in
+*freebsd*) XENSTORED_KVA=/dev/xen/xenstored ;;
+*) XENSTORED_KVA=/proc/xen/xsd_kva ;;
+esac
+
+
+case "$host_os" in
+*freebsd*) XENSTORED_PORT=/dev/xen/xenstored ;;
+*) XENSTORED_PORT=/proc/xen/xsd_port ;;
+esac
+
+
 # systemd.m4 - Macros to check for and enable systemd          -*- Autoconf -*-
 #
 # Copyright (C) 2014 Luis R. Rodriguez <mcgrof@xxxxxxxx>
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.