[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-xen-unstable] Disable xenstore_dom_chmod in stubdom build.



commit a83d119cfcc20bc7edb427992d6e31b3e99430be
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Mon Aug 10 18:02:56 2009 +0100

    Disable xenstore_dom_chmod in stubdom build.
    
    This change:
    
        commit ad202d4194eab87d3645f13e7726a4d609e42fe8
        Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
        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@xxxxxxxxxxxxx>
---
 xenstore.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/xenstore.c b/xenstore.c
index bb5f848..8222df4 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;
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.