projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9868314
)
libs/xenstore: set correct FreeBSD device
author
Roger Pau Monne
<roger.pau@citrix.com>
Mon, 12 Dec 2016 16:07:40 +0000
(16:07 +0000)
committer
Wei Liu
<wei.liu2@citrix.com>
Tue, 13 Dec 2016 10:49:56 +0000
(10:49 +0000)
The path to the xenstore FreeBSD device is /dev/xen/xenstore.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/xs_lib.c
patch
|
blob
|
history
diff --git
a/tools/xenstore/xs_lib.c
b/tools/xenstore/xs_lib.c
index 5ef3d6d895063a3a8f27dc9cc9c5856e68a37138..3e43f8809d422574d2300e7136fecd00ede663f7 100644
(file)
--- a/
tools/xenstore/xs_lib.c
+++ b/
tools/xenstore/xs_lib.c
@@
-85,6
+85,8
@@
const char *xs_domain_dev(void)
return "/proc/xen/xenbus";
#elif defined(__NetBSD__)
return "/kern/xen/xenbus";
+#elif defined(__FreeBSD__)
+ return "/dev/xen/xenstore";
#else
return "/dev/xen/xenbus";
#endif