From: Ian Jackson Date: Mon, 10 Aug 2009 17:02:56 +0000 (+0100) Subject: Disable xenstore_dom_chmod in stubdom build. X-Git-Tag: xen-4.0.0-rc1~43 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a83d119cfcc20bc7edb427992d6e31b3e99430be;p=qemu-xen-4.5-testing.git Disable xenstore_dom_chmod in stubdom build. This change: commit ad202d4194eab87d3645f13e7726a4d609e42fe8 Author: Ian Jackson Date: Tue Jul 21 15:29:43 2009 +0100 add per domain low level xenstore functions [PATCH 2/3] add per domain low level xenstore functions (read/chmod/write/watch). broke the stubdom build because minios's fork/version of libxenstore does not have the xenstore chmod operation. As xenstore_dom_chmod is not currently used in stubdom, #if it out. Signed-off-by: Ian Jackson --- diff --git a/xenstore.c b/xenstore.c index bb5f84836..8222df4cc 100644 --- a/xenstore.c +++ b/xenstore.c @@ -1511,6 +1511,8 @@ void xenstore_dom_watch(int domid, const char *key, xenstore_callback fptr, void free(buf); } +#ifndef CONFIG_STUBDOM + void xenstore_dom_chmod(int domid, const char *key, const char *perms) { char *buf = NULL, *path = NULL; @@ -1536,6 +1538,8 @@ void xenstore_dom_chmod(int domid, const char *key, const char *perms) free(buf); } +#endif /*CONFIG_STUBDOM*/ + int xenstore_dom_write(int domid, const char *key, const char *value) { char *buf = NULL, *path = NULL;