From e9545545792dbbe0cec1db42ee4ad1de91794f87 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Mon, 2 Jun 2014 17:08:14 +0200 Subject: [PATCH] xenstored: add FreeBSD xenstored device paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tools/xenstore/Makefile | 1 + tools/xenstore/xenstored_osdep.h | 3 +++ 2 files changed, 4 insertions(+) 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 -- 2.39.5