From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: "Wei Liu" <wei.liu2@citrix.com>,
Jonathan.Ludlam@citrix.com,
"Ian Jackson" <Ian.Jackson@eu.citrix.com>,
"Julien Grall" <julien.grall@arm.com>,
christian.lindig@citrix.com, dave@recoil.org,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [PATCH for-4.9 v2 1/3] paths.m4: provide XENSTORED_{KVA, PORT}
Date: Tue, 18 Apr 2017 16:31:42 +0100 [thread overview]
Message-ID: <20170418153144.28930-2-wei.liu2@citrix.com> (raw)
In-Reply-To: <20170418153144.28930-1-wei.liu2@citrix.com>
The default values are Linux device names. No users yet.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Rerun autogen.sh
---
m4/paths.m4 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/m4/paths.m4 b/m4/paths.m4
index 93ce89ab40..f208b7e39f 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)
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-04-18 15:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-18 15:31 [PATCH for-4.9 v2 0/3] oxenstored: make it work on FreeBSD Wei Liu
2017-04-18 15:31 ` Wei Liu [this message]
2017-04-20 10:28 ` [PATCH for-4.9 v2 1/3] paths.m4: provide XENSTORED_{KVA, PORT} Roger Pau Monné
2017-04-18 15:31 ` [PATCH for-4.9 v2 2/3] oxenstored: provide options to define xenstored devices Wei Liu
2017-04-18 15:31 ` [PATCH for-4.9 v2 3/3] hotplug/FreeBSD: configure xenstored Wei Liu
2017-04-20 10:33 ` Roger Pau Monné
2017-04-19 12:56 ` [PATCH for-4.9 v2 0/3] oxenstored: make it work on FreeBSD Christian Lindig
2017-04-20 10:22 ` Ian Jackson
2017-04-20 12:50 ` Julien Grall
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=20170418153144.28930-2-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Jonathan.Ludlam@citrix.com \
--cc=christian.lindig@citrix.com \
--cc=dave@recoil.org \
--cc=julien.grall@arm.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).