From 665e2160f6324060f06e1659bc718df4fc0a5723 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 19 Jun 2014 18:54:35 +0100 Subject: [PATCH] xenstore: rump kernels: Look for /dev/xen/xenbus Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- tools/xenstore/xs_lib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/xenstore/xs_lib.c b/tools/xenstore/xs_lib.c index f7076cc62c..9a7875500b 100644 --- a/tools/xenstore/xs_lib.c +++ b/tools/xenstore/xs_lib.c @@ -79,8 +79,9 @@ const char *xs_domain_dev(void) char *s = getenv("XENSTORED_PATH"); if (s) return s; - -#if defined(__linux__) +#if defined(__RUMPUSER_XEN__) + return "/dev/xen/xenbus"; +#elif defined(__linux__) return "/proc/xen/xenbus"; #elif defined(__NetBSD__) return "/kern/xen/xenbus"; -- 2.30.2