From: Roger Pau Monne Date: Mon, 2 Jun 2014 15:08:14 +0000 (+0200) Subject: xenstored: add FreeBSD xenstored device paths X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4820 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e9545545792dbbe0cec1db42ee4ad1de91794f87;p=xen.git xenstored: add FreeBSD xenstored device paths 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é Cc: Ian Jackson Acked-by: Ian Campbell --- diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index c0c7bb2ece..e34bd41817 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -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) diff --git a/tools/xenstore/xenstored_osdep.h b/tools/xenstore/xenstored_osdep.h index 73c6461fff..b3e630c34a 100644 --- a/tools/xenstore/xenstored_osdep.h +++ b/tools/xenstore/xenstored_osdep.h @@ -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