WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [qemu-xen-unstable] Disable xenstore_dom_chmod in stubdo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [qemu-xen-unstable] Disable xenstore_dom_chmod in stubdom build.
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Mon, 10 Aug 2009 10:21:01 -0700
Delivery-date: Mon, 10 Aug 2009 10:21:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [qemu-xen-unstable] Disable xenstore_dom_chmod in stubdom build., Ian Jackson <=