[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 12/17] libxenstore: honour XEN_RUN_STORED
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/xenstore/Makefile | 1 + tools/xenstore/xs_lib.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index d691b78..36b6fd4 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -12,6 +12,7 @@ CFLAGS += -I./include CFLAGS += $(CFLAGS_libxenevtchn) CFLAGS += $(CFLAGS_libxenctrl) CFLAGS += -DXEN_LIB_STORED="\"$(XEN_LIB_STORED)\"" +CFLAGS += -DXEN_RUN_STORED="\"$(XEN_RUN_STORED)\"" CFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_CFLAGS) LDFLAGS-$(CONFIG_SYSTEMD) += $(SYSTEMD_LIBS) diff --git a/tools/xenstore/xs_lib.c b/tools/xenstore/xs_lib.c index 0c7744e..6568e82 100644 --- a/tools/xenstore/xs_lib.c +++ b/tools/xenstore/xs_lib.c @@ -35,7 +35,7 @@ const char *xs_daemon_rootdir(void) const char *xs_daemon_rundir(void) { char *s = getenv("XENSTORED_RUNDIR"); - return (s ? s : "/var/run/xenstored"); + return (s ? s : XEN_RUN_STORED); } static const char *xs_daemon_path(void) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |