xenstored.h
Quoted 8 lines
From: Chris Wright [mailto:[email protected]]
Quoted 4 lines · ([email protected]) wrote:
Now that xenstore is in the mainline and
xenstored.his part of the API to xenlinux, shouldxenstored.hbe moved into xen/include/public instead of being mkbuildtree'd fromtools/xenstoretodrivers/xen/xenbus?That's basically what my original patch did.
I'm not sure what "original patch" you mean. Is it one that hasn't been applied yet, or has been applied very recently?
Quoted 7 lines · * Magenheimer, Dan (HP Labs Fort Collins) ([email protected]) wrote:
Quoted 7 lines
From: Chris Wright [mailto:[email protected]]
Quoted 4 lines · ([email protected]) wrote:
Now that xenstore is in the mainline and
xenstored.his part of the API to xenlinux, shouldxenstored.hbe moved into xen/include/public instead of being mkbuildtree'd fromtools/xenstoretodrivers/xen/xenbus?
Quoted 5 lines
Quoted 1 line
That's basically what my original patch did.
I'm not sure what "original patch" you mean. Is it one that hasn't been applied yet, or has been applied very recently?
One that got applied about a month ago, just edited from the original to make it mkbuildtree'd to drivers/xen/xenbus rather than put in public dir (I chose linux-public rather than xen-public as this is a userspace interface not a hypervisor interface).
PATCH 1/1 Put xenstored.h in linux-public include dir
Dan, how does this one work for you?
Put xenstored.h in linux-public include dir.
---
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c +1 -1
@@ -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? */
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c +1 -1
@@ -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)
linux-2.6-xen-sparse/mkbuildtree +1 -1
@@ -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
Re: [PATCH] Put xenstored.h in linux-public include dir
Thanks!
Quoted 52 lines · Chris Wright
Dan, how does this one work for you?
Put
xenstored.hin linux-public include dir.Signed-off-by Chris Wright <[email protected]>---
diff -r
d8637529dafflinux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.clinux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12 18:28:07 2005 renamed from linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c Mon Sep 12 21:42:26 2005 +1
-1@@ -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
d8637529dafflinux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.clinux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12 18:28:07 2005 renamed from linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c Mon Sep 12 21:42:26 2005 +1
-1@@ -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
d8637529dafflinux-2.6-xen-sparse/mkbuildtreelinux-2.6-xen-sparse/mkbuildtree Mon Sep 12 18:28:07 2005 renamed from linux-2.6-xen-sparse/mkbuildtree Mon Sep 12 21:42:26 2005 +1
-1@@ -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
[email protected]
http://lists.xensource.com/xen-devel