]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commitdiff
Disable xenstore_dom_chmod in stubdom build.
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 10 Aug 2009 17:02:56 +0000 (18:02 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 10 Aug 2009 17:02:56 +0000 (18:02 +0100)
This change:

    commit ad202d4194eab87d3645f13e7726a4d609e42fe8
    Author: Ian Jackson <ian.jackson@eu.citrix.com>
    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 <ian.jackson@eu.citrix.com>
xenstore.c

index bb5f848368a6f3f909d20175462e332524d1c4f3..8222df4ccf08dd2a4ff97d1178360eec70fe81e7 100644 (file)
@@ -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;