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-api

[Xen-API] [PATCH 2 of 4] Work-around the missing XS_RESTRICT decl in xen

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 2 of 4] Work-around the missing XS_RESTRICT decl in xen-unstable
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Wed, 11 Nov 2009 17:42:37 +0000
Delivery-date: Wed, 11 Nov 2009 09:39:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1257961355@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1257961309 0
# Node ID 07649972130671a0b984953749566f6aaf9ba7ff
# Parent  9a44d2645ddc107af42e78589e092e39ea93000b
Work-around the missing XS_RESTRICT decl in xen-unstable

This message is only used by
http://xenbits.xen.org/xapi/qemu-xen-3.4.pq.hg?file/e89cb5405f51/depriv_qemu

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 9a44d2645ddc -r 076499721306 xb/xb_stubs.c
--- a/xb/xb_stubs.c     Wed Nov 11 17:41:48 2009 +0000
+++ b/xb/xb_stubs.c     Wed Nov 11 17:41:49 2009 +0000
@@ -29,6 +29,13 @@
 #include <xenctrl.h>
 #define u32 uint32_t
 #include <xen/io/xs_wire.h>
+
+/* XS_RESTRICT is defined in 
+   
http://xenbits.xen.org/xapi/xen-3.4.pq.hg?file/c01d38e7092a/restrict_xenstored 
*/
+#include "../include/config.h"
+#if !HAVE_DECL_XS_RESTRICT
+#define XS_RESTRICT 128
+#endif
 
 CAMLprim value stub_get_internal_offset(void)
 {
1 file changed, 7 insertions(+)
xb/xb_stubs.c |    7 +++++++


Attachment: xen-api-libs.hg-4.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api