Message ID | 20170418153144.28930-2-wei.liu2@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Apr 18, 2017 at 04:31:42PM +0100, Wei Liu wrote: > The default values are Linux device names. No users yet. > > Signed-off-by: Wei Liu <wei.liu2@citrix.com> Since it's FreeBSD related stuff: Acked-by: Roger Pau Monné <roger.pau@citrix.com>
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)
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(+)