]> xenbits.xensource.com Git - xen.git/commitdiff
xenstored: add FreeBSD xenstored device paths
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 2 Jun 2014 15:08:14 +0000 (17:08 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Jun 2014 16:18:35 +0000 (17:18 +0100)
Add the path to FreeBSD special xenstored device, this is all that's
needed to get xenstored working on FreeBSD after the unification of
the implementations.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/Makefile
tools/xenstore/xenstored_osdep.h

index c0c7bb2ece77e2d764a41f23aecd889cd447963a..e34bd418177b8dbbf3fa348b52c4c3d118a688c9 100644 (file)
@@ -16,6 +16,7 @@ XENSTORED_OBJS = xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored
 XENSTORED_OBJS_$(CONFIG_Linux) = xenstored_posix.o
 XENSTORED_OBJS_$(CONFIG_SunOS) = xenstored_solaris.o xenstored_posix.o xenstored_probes.o
 XENSTORED_OBJS_$(CONFIG_NetBSD) = xenstored_posix.o
+XENSTORED_OBJS_$(CONFIG_FreeBSD) = xenstored_posix.o
 XENSTORED_OBJS_$(CONFIG_MiniOS) = xenstored_minios.o
 
 XENSTORED_OBJS += $(XENSTORED_OBJS_y)
index 73c6461fff383f3753b65697a705bc91c30ec7d3..b3e630c34ad55426f968e55c8663f73d1c447d67 100644 (file)
@@ -14,4 +14,7 @@
 #elif defined(__NetBSD__)
 #define XENSTORED_KVA_DEV  "/dev/xsd_kva"
 #define XENSTORED_PORT_DEV "/kern/xen/xsd_port"
+#elif defined(__FreeBSD__)
+#define XENSTORED_KVA_DEV  "/dev/xen/xenstored"
+#define XENSTORED_PORT_DEV "/dev/xen/xenstored"
 #endif