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

Re: [Xen-devel] [PATCH] Put xenstored.h in linux-public include dir

To: Chris Wright <chrisw@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Put xenstored.h in linux-public include dir
From: Christian Limpach <christian.limpach@xxxxxxxxx>
Date: Tue, 13 Sep 2005 09:36:11 +0100
Cc: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Sep 2005 08:34:21 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CFIhE/MlnHZv08VXO7msD6WqaXbr14t3G+iKKQ5HBk9mi4EMkL+7RIqV9D4toyv3r9fUNe4Dv6Ki7DAH3XO13A7uQtmq8DBqQFGG1kuZYMpTjg7AmnEJ1piOT5fWfqGZK9tOwqVBlHkxPPHV4Wx6ErsfsWygS8uTVPBKzNsFkEY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050913013152.GD7762@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD5695A24@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20050913000700.GC7762@xxxxxxxxxxxxxxxxxxx> <20050913013152.GD7762@xxxxxxxxxxxxxxxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks!

On 9/13/05, Chris Wright <chrisw@xxxxxxxx> wrote:
> Dan, how does this one work for you?
> 
> Put xenstored.h in linux-public include dir.
> 
> Signed-off-by: Chris Wright <chrisw@xxxxxxxx>
> ---
> 
> diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
> --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c      Mon Sep 12 
> 21:42:26 2005
> +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c      Mon Sep 12 
> 18:28:07 2005
> @@ -37,12 +37,12 @@
>  #include <linux/wait.h>
>  #include <linux/fs.h>
> 
> -#include "xenstored.h"
>  #include "xenbus_comms.h"
> 
>  #include <asm/uaccess.h>
>  #include <asm-xen/xenbus.h>
>  #include <asm-xen/xen_proc.h>
> +#include <asm-xen/linux-public/xenstored.h>
> 
>  struct xenbus_dev_data {
>        /* Are there bytes left to be read in this message? */
> diff -r d8637529daff linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c
> --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c       Mon Sep 12 
> 21:42:26 2005
> +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c       Mon Sep 12 
> 18:28:07 2005
> @@ -38,7 +38,7 @@
>  #include <linux/fcntl.h>
>  #include <linux/kthread.h>
>  #include <asm-xen/xenbus.h>
> -#include "xenstored.h"
> +#include <asm-xen/linux-public/xenstored.h>
>  #include "xenbus_comms.h"
> 
>  #define streq(a, b) (strcmp((a), (b)) == 0)
> diff -r d8637529daff linux-2.6-xen-sparse/mkbuildtree
> --- a/linux-2.6-xen-sparse/mkbuildtree  Mon Sep 12 21:42:26 2005
> +++ b/linux-2.6-xen-sparse/mkbuildtree  Mon Sep 12 18:28:07 2005
> @@ -108,5 +108,5 @@
>  cd     ${AD}/include/asm-xen/xen-public
>  relative_lndir ../../../${RS}/../xen/include/public
> 
> -cd ${AD}/drivers/xen/xenbus
> +cd ${AD}/include/asm-xen/linux-public
>  ln -sf ../../../${RS}/../tools/xenstore/xenstored.h
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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

<Prev in Thread] Current Thread [Next in Thread>